Take a look at the
collections.OrderedDict data structure in Python. Search for it online to find the documentation.
- Exercise 39. Dictionaries, Oh Lovely Dictionaries
- from Learn Python the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code, Third Edition, ...
- Publisher: Addison-Wesley Professional
- Released: October 2013
Share this highlighthttp://www.safaribooksonline.com/a/learn-python-the/3005/