Re: Help - just a few lines of code needed

2006-03-06 Thread johnzenger
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

Re: Help - just a few lines of code needed

2006-03-06 Thread James Stroud
[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/