Is there such a thing as an ordered dict?

Martin v. Loewis martin at v.loewis.de
Fri May 10 02:41:43 EDT 2002


VanL <news at lindbergs.org> writes:

>  Is there some sort of halfway-dict halfway-list that could be
> accessed by key *and* by position?  

Ask Google:

http://www.google.de/search?q=Python+ordered+dictionary

The first hit gives

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/107747

HTH,
Martin



More information about the Python-list mailing list