sort a dictionary by keys in specific order

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Fri May 26 19:03:20 EDT 2006


spohle a écrit :
> how do i get the result back into the dictionary ?
> 
Python dicts (like almost any known hash-table) are *not* ordered. If 
you need an ordered dict, roll your own - this is quite easy.



More information about the Python-list mailing list