I have following dictionary
mydict = { 'name': "Hello",
'address': { 'place': 'India',
'street': {
'One': 'Street one', 'Two': 'Street Two' }
},
'Job': 'Sleep' }
So I can access the value of Street one like mydict['address']['street']['One']
Now I am thinking of simplifying this like this
I have another dictionary like below
dict_map = {'Name': ['name'],
'AddressOne': ['address','street','One'] }
Is there any way I can directly access the element 'One' using dict_map['AddressOne']
Thanks ~S