Re: pprint defaultdict one record per line

2013-03-17 Thread Terry Reedy
On 3/17/2013 1:45 PM, Peng Yu wrote: pprint can not print defaultdict one record per line Known issue, no progress for 2+ years. Patch not updated for default branch (3.4). Not clear what best way forward is. -- Terry Jan Reedy -- http://mail.python.org/mailman/listinfo/python-list

Re: pprint defaultdict one record per line

2013-03-17 Thread Mark Lawrence
On 17/03/2013 17:45, Peng Yu wrote: Hi, pprint can not print defaultdict one record per line. Is there some other convenient way in python to print one record per line? ~/linux/test/python/man/library/pprint/function/pprint$ ./main.py {'two': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14],

pprint defaultdict one record per line

2013-03-17 Thread Peng Yu
Hi, pprint can not print defaultdict one record per line. Is there some other convenient way in python to print one record per line? ~/linux/test/python/man/library/pprint/function/pprint$ ./main.py {'two': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], 'one': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]}