Casebash Casebash - 5 months ago 6
Python Question

OrderedDict for older versions of python

Ordered dictionaries are extremely useful structures, but unfortunately these are quite recent only working in versions from 3.1 and 2.7. How can I use an ordered dictionary in older versions?


I installed ordereddict on python 2.6 with pip

pip install ordereddict