Sorting a list of lists

R (Chandra) Chandrasekhar chyavana at gmail.com
Sat Feb 13 22:19:02 EST 2010


MRAB wrote:

> You'd have to post an example of that, but you could try deleting some
> of the entries before sorting so see whether you can still reproduce the
> problem with a smaller list.

John Posner wrote:
> Please cut-and-paste the exact error message (or other evidence of 
> "failure") into a message.

Thank you both. It appears that the problem was in the way the data were 
being read in from a file, than in the sorting itself. Once I fixed 
that, the results are as expected.

Chandra



More information about the Python-list mailing list