sortable table in python 3.0

"Martin v. Löwis" martin at v.loewis.de
Sun Feb 8 13:30:58 EST 2009


Peter Pei wrote:
> In one of my program, I used something called MultiColumnList, which is
> one of the sortable table widgets done in python. However 3.0 sort is
> different. I googled and found couple of other implementations, but all
> in python 3.0 -.
> 
> Does anyone know any solution in 3.0? or anything that has already been
> upgraded to 3.0? Thanks.

You need to use the key= argument to sort.

Martin



More information about the Python-list mailing list