Reputation: 11460
How do I enable pretty printing by default in IPython? I haven't been able to find clear instructions anywhere on how to do this. Thanks much!
Upvotes: 8
Views: 9906
Reputation: 18281
$ ipython help notebook | grep pprint -A1
--pprint
Enable auto pretty printing of results.
--
--no-pprint
Disable auto auto pretty printing of results.
$ ipython help console | grep pprint -A1
--pprint
Enable auto pretty printing of results.
--
--no-pprint
Disable auto auto pretty printing of results.
Upvotes: 5