[FRPythoneers] Joining a lists of lists?
marciot at holly.colostate.edu
Tue Aug 6 15:38:06 MDT 2002
I was looking for an easy way to convert a list of lists into a flattened
>>> a = somefunc([[1,2,3],[4,5,6],[7,8,9]])
>>> print a
In scheme, I would have written:
(apply #'append '((1 2 3) (4 5 6) (7 8 9))).
What's the equivalent expression in Pythonese?
While I'm at it, is there any good online reference that shows python
equivalents for common Scheme/LISP expressions?
Marcio Luis Teixeira
More information about the FRPythoneers