What's the neatest way of getting dictionary entries in a specified order?

Michael Torrie torriem at gmail.com
Wed Mar 8 23:31:00 EST 2017


On 03/08/2017 12:27 PM, Chris Green wrote:
> I have a fairly simple application that populates a GUI window with
> fields from a database table.  The fields are defined/configured by a
> dictionary as follows:-

Instead of ordering the data in Python, why not rely on the GUI to do
the sort?  Most GUI's even have table widgets that let you click on the
headings to sort arbitrarily.




More information about the Python-list mailing list