pprinty
is a Python package for beautiful printing of objects.
pip install pprinty
>>> from pprinty import pprint
>>>
>>> pprint({"a": {"d": "e"}, "b": "f", "c": ["I read the letter.", "Stood up.", "Sat down.", "Pondered for a minute."]})
{
'a': {
'd': 'e'
},
'b': 'f',
'c': [
'I read the letter.',
'Stood up.',
'Sat down.',
'Pondered for a minute.'
]
}