sort a dictionary by keys in specific order

Bruno Desthuilliers bdesth.quelquechose at
Sat May 27 01:03:20 CEST 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