from collections import OrderedDict
my_dict = OrderedDict([('Forename', 'Paul'), ('Surname', 'Dinh')])
for key, value in my_dict.items():
    pass
How to implement associative array (not dictionary) in Python?