Ordered dictionary?

Leif K-Brooks eurleif at ecritters.biz
Thu Jan 22 15:18:25 EST 2004


I need to associate a string (key) with an integer (value). A dictionary 
would do the job, except for the fact that it must be ordered. I also 
need to look up the value for a specific key easily, so a list of tuples 
wouldn't work.




More information about the Python-list mailing list