I have recursive function which walk nested dict and return needed key's value:
def recurs(l):
for key in l.keys():
if key == '_events':
return l[key]
else:
recurs(l[key])
c=recurs(d)
print c
And how i can get these values?
recurspotentially several times. So the question is, what kind of return value do you expect? A single value? A list?