Stay organized with collections Save and categorize content based on your preferences.

Get leaf from a dictionary with arbitrary depth with a list of keys.

d The dictionary to extract value from.
keys The list of keys to extract values recursively.

The value of the leaf.

KeyError If the value of keys extracted is a dictionary.