I am trying to find the value of a given key from a nested OrderedDict.
Key points:
Try this
mydict = ['KYS_Q1AA_YouthSportsTrustSportParents_P',
['KYS_Q1AA',
[{'chart_layout': '3'},
{'client_name': 'Sport Parents (Regrouped)'},
{'sort_order': 'asending'},
{'chart_type': 'pie'},
{'powerpoint_color': 'blue'},
{'crossbreak':'Total'}
]]]
Then...
print mydict[1][1][4]['powerpoint_color']