Sorting an array on the nth element in a list

Ron Brennan brennan.ron at
Wed Aug 20 21:01:15 CEST 2008


I am trying to parse a log file.  I want to sort based on the second element
the list that is in the file.

What is the best way to do this?  The sort is just on the line itself where
I want to re-organize the lines based on the second element of the csv file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list