how to keep order key in a dictionary

azrael jura.grozni at gmail.com
Sun Nov 4 08:19:25 EST 2007


I 'm currenty working on a project for which it would be great to use
a dictionary. At the begining I have a list of strings that should
represent the keys in the dictionary. When I try to create a
dictionary it rearanges the keys. For this dictionary it is realy
important to keep the right order. Is it possible to arange them in a
specific order?




More information about the Python-list mailing list