Casebash Casebash - 2 years ago 102
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?

Answer Source

I installed ordereddict on python 2.6 with pip

pip install ordereddict
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download