multidimensional lists
anton muhin
antonmuhin.REMOVE.ME.FOR.REAL.MAIL at rambler.ru
Tue Oct 7 12:35:09 EDT 2003
Orla O'Sullivan wrote:
> I have a list of characters and I want to convert it
> into a list of lists..how can I do this??
>
It's not obvious what precisely you want to achieve, but there are at
least three options to work with multidimensional data structures in Python:
1) list of lists: l[2][3] = 1;
2) dictionaries: d[2, 3] = 1, etc...
3) Numeric module
regards,
anton.
More information about the Python-list
mailing list