metulburr- Wow, it's that easy huh! Thank you, that solves one of my issues.
So I'm realizing that in order to get the last key/value I would need to first convert to a list and sort.
Any way to apply this same logic to the sub-keys?
So I'm realizing that in order to get the last key/value I would need to first convert to a list and sort.
x = sorted(dict.keys())[-1] print(x)however this returns the top level key 1005672.
Any way to apply this same logic to the sub-keys?