list of tuples with dynamic change in position

Ulrich Eckhardt eckhardt at satorlaser.com
Wed Sep 8 02:39:39 EDT 2010


sajuptpm wrote:
> i want to find the loaded machine based on cpu and mem and desk
> utilization by changing this order.
> 
> I created a UI using that i can change the order of item in the tuple.
> But the problem is asc and desc sorting

How about only changing the order in which the elements are displayed? In
other words, the internal data is fixed, but both the sorting of the list
and the order in which the parts of the records are displayed can be
changed.

Just my 2c

Uli


-- 
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list