How do I sort these?

Paul Rubin http
Fri Oct 28 16:46:45 EDT 2005


"KraftDiner" <bobrien18 at yahoo.com> writes:
> In C++ you can specify a comparision method, how can I do this with
> python...

Yes, see the docs.  Just pass a comparison func to the sort method.



More information about the Python-list mailing list