[Tutor] Flattening multi-dimentional list
by Bernard Lebel other posts by this author
Sep 28 2005 5:49PM messages near this date
Re: [Tutor] New-style classes
|
Re: [Tutor] Flattening multi-dimentional list
Hello,
I have this list wich is made of tuples. I wish I could "flatten" this
list, that is, to extract each element in the tuples and build a new
flat list with it. Is there any shortcut to do that or do I have to go
through some list comprehension-like procedure?
(I have looked at sets but I have to keep things ordered).
Thanks
Bernard
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Bernard Lebel
Pujo Aji
Kent Johnson
Alan G
Bernard Lebel
Danny Yoo
Bernard Lebel
|