简体   繁体   English

默认情况下在IPython中启用漂亮打印

[英]Enable pretty printing by default in IPython

How do I enable pretty printing by default in IPython? 如何在IPython中默认启用漂亮打印? I haven't been able to find clear instructions anywhere on how to do this. 我无法在任何地方找到有关如何执行此操作的明确说明。 Thanks much! 非常感谢!

$ 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.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM