reshape a list?

KraftDiner bobrien18 at yahoo.com
Mon Mar 6 21:39:55 CET 2006


I have a list that starts out as a two dimensional list
I convert it to  a 1D list by:

b = sum(a, [])

any idea how I can take be and convert it back to a 2D list?




More information about the Python-list mailing list