How can I pretty-print a dictionary with a depth of ~4 in Python? I tried pretty printing with pprint(), but it did not work:
pp = pprint.PrettyPrinter(indent=4)
I simply want an indentation ("\t") for each nesting, so that I get something like this:
How can I do this?