How do I make pprint do this
robert.kern at gmail.com
Wed May 20 12:23:09 EDT 2009
On 2009-05-20 10:37, skip at pobox.com wrote:
> >> I cannot get pprint to format output how I would like. pydb does. I
> >> tried grepping the source but still couldn't grok it.
> That's not the way pprint works. You have no control over how it arranges
> its output. If you need something more flexible you'll have to roll your
Or use Armin Ronacher's excellent pretty.py:
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list