flatten a list of list

Michael Fötsch foetsch at yahoo.com
Sun Aug 16 12:03:53 CEST 2009

Terry wrote:
> Is there a simple way (the pythonic way) to flatten a list of list?

This is probably the shortest it can get:

sum(list_of_lists, [])

Kind Regards,

More information about the Python-list mailing list