tags:

views:

106

answers:

1

Possible Duplicates:
Flattening a shallow list in python
How flatten a list of lists one step

I didn't find any other question, so here it is:

I have a list of lists of objects of the same type like this:

[[a,b,c],[d,e,f]]

i want:

[a,b,c,d,e,f]

there's probably an easy way doing this, but i'm kind of stuck.

A: 

See http://stackoverflow.com/questions/952914/making-a-flat-list-out-of-list-of-lists-in-python and the other questions linked over there.

Tomalak