astpath icon indicating copy to clipboard operation
astpath copied to clipboard

Using ASTpath to access internal data structure key/value (dictionary)

Open SamuelMarks opened this issue 7 years ago • 0 comments

a = None
b = 5
c = {'f': 6, 'g': {'i': {'l': 10}}}

In Python, I can just:

print(c['g']['i']['l'])

How do I do equivalent with ASTpath?

Thanks

SamuelMarks avatar Aug 30 '18 15:08 SamuelMarks