[Solved] How can I analyse an response.text in Python?


As you have a dictionary of dictionaries, accessing each dictionary value will give you another dictionary. You can then access the values from that dictionary in the same way. For your particular example, you can do the following:

>>> master_dict["Item"]["last_data"]["S"]["question"]
'question question question?'

If instead, you want to access all occurrences of a certain key in a nested dictionary, this question should help you.

0

solved How can I analyse an response.text in Python?