I'm trying to print a dict key value dynamically.
EX:
print(data['waninfo']['1']['user']['_value']) ->"teste"
print(data['waninfo']['1']['pw']['_value']) -> "teste123"
As we see the key 'waninfo' and '1' are fixed and i would like to use the keys after dynamically, like this:
fixedKey = "['user']['_value']"
print(data['waninfo']['1']+fixedKey)
How can i do this?