Transforming a List of elements into a List of lists of elements

Jan Kaliszewski zuo at chopin.edu.pl
Fri Jan 8 07:39:45 EST 2010


PS. Sorry, I wrote:
>      >>> zip(*[iter(s)]*3)  # or simpler: zip(s) :-)
But should be
>      >>> zip(*[iter(s)]*1)  # or simpler: zip(s) :-)

*j



More information about the Python-list mailing list