I'm trying to search through multiple nested dictionaries like this one
dict1 = {'x':'y1'}
dict2 = {'a':{'x':'y2'}}
dict3 = {'a':'b','c':{'d':{'x':'y3'}}}
...
So the problem is when I try to look for 'x', the location of 'x' in each dictionary changes. Is there a simple way to find 'x' in every dictionary like .findall('.//tag')
when it comes to finding a tag through XML?