7

如何在 IPython 中默认启用漂亮的打印?我无法在任何地方找到有关如何执行此操作的明确说明。非常感谢!

4

1 回答 1

4
$ 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.
于 2013-05-15T17:32:09.850 回答