On 2009-05-20 10:37, s...@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 mor
>> 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
own.
--
Ski
I cannot get pprint to format output how I would like. pydb does. I
tried grepping the source but still couldn't grok it. Here:
(Pydb) a = range(1,100)
(Pydb) pp a
[1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10, 11, 12, 13, 14, 15, 16, 17,
18, 19, 20
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 3