Generate all permutations of a list





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 Next »
4
Date Submitted Sat. Apr. 22nd, 2006 11:17 AM
Revision 4
Beginner Utsawin
Tags "ASP.NET 2.0" | combinations | factorials | math | permutations
Comments 3 comments
Go easy on me, my first snippet - plus I am new to VB.NET 2.0... with only basic knowledge of classic VB... Just want to mention that the Permutations function is not actually mine - found it online... (credit where credit's due)

Fairly simple stuff, but had me pulling my hair out - Even Excel has a COMBI function out of the box!
6
Date Submitted Sun. May. 27th, 2007 11:14 AM
Revision 1
Beginner kvj86210
Tags python
Comments 0 comments
Create a regular expression pattern matching any positive number that is less than or equal to the given max number

Example:

pattern = createRegExNumberPattern( 950 )

print pattern

([0-8]\d\d)|(9[0-4]\d)|(950)
2
Date Submitted Fri. Jun. 6th, 2008 6:32 PM
Revision 1
Helper jamesmcm
Tags hangman | python
Comments 0 comments
A simple CLI hangman implementation in Python.

Uses a simple list of countries in countries.txt to generate words.
2
Date Submitted Mon. Jun. 9th, 2008 4:03 AM
Revision 1
Helper jamesmcm
Tags anaram | python
Comments 0 comments
A simple anagram solver in python. Requires a dictionary named wordlist.txt
2
Date Submitted Mon. Jun. 9th, 2008 4:06 AM
Revision 1
Helper jamesmcm
Tags anagram | python
Comments 0 comments
A simple anagram maker written in python. Automatically adds original word to wordlist.txt if it does not exist there already so it may be used in conjunction with the solver.
2
Date Submitted Mon. Jun. 9th, 2008 4:09 AM
Revision 1
Helper jamesmcm
Tags game | platformer | pygame | python
Comments 1 comments
A simple platformer written in python using pygame. It is still plagued with bugs at the moment. Pre-Alpha.
2
Date Submitted Wed. Jun. 11th, 2008 4:45 AM
Revision 1
Helper jamesmcm
Tags plugins | python
Comments 0 comments
Part 1 of an autocomplete plugin designed for use in IMs. Not entirely finished since if two new words are used in one string then it doesn't add them correctly - starting with a full wordlist would reduce the chance of this occurring however.
2
Date Submitted Wed. Jun. 11th, 2008 4:47 AM
Revision 1
Helper jamesmcm
Tags plugins | python
Comments 0 comments
When given the start of a string it searches the wordlist and returns the most popular word used beginning with that string. Designed to be used in autocomplete IM plugin where tab would cycle through used words beginning with the string, in order of popularity.
4
Date Submitted Thu. Nov. 30th, 2006 11:36 PM
Revision 1
Beginner ivy7878
Tags address | addresses | country | IP | python
Comments 0 comments
This module is a Python Library to support all IP2Location™ database products. It has been optimized for speed and memory utilization. Developers can use the API to qeury all IP2Location™ binary databases for applications written in Python.
9
Date Submitted Wed. Mar. 1st, 2006 4:43 PM
Revision 1
Helper gbarendt
Tags python
Comments 0 comments
Python example set-up script from python.org docs.
« Previous 1 2 3 Next »