---------- Forwarded message ---------- From: Marco Sulla <marco.sulla.pyt...@gmail.com> Date: Apr 2, 2022 22:44 Subject: dict.get_deep() To: Python List <> Cc:
A proposal. Very often dict are used as a deeply nested carrier of data, usually decoded from JSON. data["users"][0]["address"]["street"] I have been using jsonpath expressions for that kind of stuff lately. Works really well. https://pypi.org/project/jsonpath-ng/ -- https://mail.python.org/mailman/listinfo/python-list