Hi:

I have a tab-delim file:

col1         col2     col3
andrew    1987   1990
jake         1974   1980
jim           1964   1970
lance        1984   1992


how can I sort column 2 and get :
jim           1964   1970
jake         1974   1980
lance        1984   1992
andrew    1987   1990


I know how to sort a items in one list. but I cannot get how this can be done 
on a file. 

any suggestions. thanks!
Hs


      
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to