Re: pattern combinations

2007-09-17 Thread dohertywa
On Sep 17, 3:11 pm, "Shawn Milochik" <[EMAIL PROTECTED]> wrote: > On 9/17/07, dorje tarap <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > Given some patterns such as "...t...s." I need to make all possible > > combinations given a separate list for each position. The length of the > > pattern i

Re: pattern combinations

2007-09-17 Thread Shawn Milochik
On 9/17/07, dorje tarap <[EMAIL PROTECTED]> wrote: > Hi all, > > Given some patterns such as "...t...s." I need to make all possible > combinations given a separate list for each position. The length of the > pattern is fixed to 9, so thankfully that reduces a bit of the complexity. > > For examp

pattern combinations

2007-09-17 Thread dorje tarap
Hi all, Given some patterns such as "...t...s." I need to make all possible combinations given a separate list for each position. The length of the pattern is fixed to 9, so thankfully that reduces a bit of the complexity. For example I have the following: pos1 = ['a',' t'] pos2 = ['r', 's'] pos