Nested lists, simple though

Grant Edwards grante at visi.com
Sun Apr 20 19:48:40 EDT 2008


On 2008-04-20, Zethex <zethex at hotmail.com> wrote:

> Im a bit new to python.  Anyway working on a little project of mine and i
> have nested lists

What you want to do is usually called "flattening".

http://mail.python.org/pipermail/tutor/2001-January/002914.html
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/363051
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/121294

-- 
Grant Edwards                   grante             Yow! HAIR TONICS, please!!
                                  at               
                               visi.com            



More information about the Python-list mailing list