[FRPythoneers] Opps.

marciot marciot at holly.colostate.edu
Tue Aug 6 15:40:51 MDT 2002


>===== Original Message From frpythoneers at lists.community.tummy.com =====
>Hi,
>
>I was looking for an easy way to convert a list of lists into a flattened
>list:
>
>>> a = somefunc([[1,2,3],[4,5,6],[7,8,9]])
>>> print a
>[1,2,3,4,5,6]

I meant, [1,2,3,4,5,6,7,8,9], of course :)





More information about the FRPythoneers mailing list