In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
>There is some fine permutation code in the cookbook. Take a look at
>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/190465 .
>
>You can easily code something like:
.
.
There is some fine permutation code in the cookbook. Take a look at
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/190465 .
You can easily code something like:
# xcombinations from the cookbook
def xcombinations(items, n):
if n==0: yield []
else:
for i in xrange(len(item
[EMAIL PROTECTED] wrote:
> Unfortunately I am not able to program it myself, so
You should learn how. Its very easy and will make your life better.
Go to www.python.org.
--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com/
Hi
I hope someone can help me out with a very SIMPLE program
about whole string permutations. That is: given a list of strings,
the required outcome is a complete set of all their possible
permutations.
It's like character permutations of a string, but this time it is
whole strings instead of sing