Re: Extended zip() for lists

2006-06-08 Thread Florian Reiser
Hello Gene, a big THANKS for this tip. This is exactly what I was looking for. Regards Florian Reiser "gene tani" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > Florian Reiser wrote: >> Hello, >> >> I have 4 lists: a, b, c and d >> Out of this 4 lists I want to build a t

Re: Extended zip() for lists

2006-06-08 Thread Duncan Booth
Florian Reiser wrote: > Hello, > > I have 4 lists: a, b, c and d > Out of this 4 lists I want to build a table (e.g. list of lists): > > a|b|c|d > --- > a1|b1|c1|d1 > a1|b2||d2 > > You see: the lists are not equally sized. > Is there a command which fills up the shor

Re: Extended zip() for lists

2006-06-08 Thread gene tani
Florian Reiser wrote: > Hello, > > I have 4 lists: a, b, c and d > Out of this 4 lists I want to build a table (e.g. list of lists): > > a|b|c|d > --- > a1|b1|c1|d1 > a1|b2||d2 > > You see: the lists are not equally sized. > Is there a command which fills up the shorter

Re: Extended zip() for lists

2006-06-08 Thread Fredrik Lundh
Florian Reiser wrote: > I have 4 lists: a, b, c and d > Out of this 4 lists I want to build a table (e.g. list of lists): > > a|b|c|d > --- > a1|b1|c1|d1 > a1|b2||d2 > > You see: the lists are not equally sized. > Is there a command which fills up the shorter lists wi

Extended zip() for lists

2006-06-08 Thread Florian Reiser
Hello, I have 4 lists: a, b, c and d Out of this 4 lists I want to build a table (e.g. list of lists): a|b|c|d --- a1|b1|c1|d1 a1|b2||d2 You see: the lists are not equally sized. Is there a command which fills up the shorter lists with blanks? Like an enhanced zip() c