[Tutor] simple report writing?

CPIM Ronin ronin_cpim at hotmail.com
Mon Nov 7 20:10:57 CET 2005


I have a list (x_list) of class data. How do I sort that list by a selected 
variable common to all members of the list?

x_list.sort(key=x_list.v_name) # doesn't work becuase x_list can't see the 
individual items.

RC

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



More information about the Tutor mailing list