Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   sorting in dictionary (http://www.domainnameforum.org/showthread.php?t=118311)

Python 08-20-2010 03:17 AM

sorting in dictionary
 
Hi. I want to sort the keys of my dictionary. The keys are consisted of list of 3 different numbers, for instance - (0, 5, 0) So I want to sort them first over key[2], then over key[1] and then over key[0] Then to print the value accorfing to the sorted keys The keys should be sorted like...


All times are GMT -4. The time now is 11:27 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.