sort problem

Michele Petrazzo michele.petrazzo at TOGLIunipex.it
Thu Oct 20 12:45:40 EDT 2005


Lasse Vågsæther Karlsen wrote:
> How about:
> 
> list.sort(key=lambda x: x[3])
> 
> Does that work?
> 

Yes, on my linux-test-box it work, but I my developer pc I don't have
the 2.4 yet. I think that this is a good reason for update :)

Thanks,
Michele



More information about the Python-list mailing list