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

前端之家收集整理的这篇文章主要介绍了默认情况下在IPython中启用漂亮打印前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
如何在I Python中默认启用漂亮打印?我无法在任何地方找到有关如何执行此操作的明确说明.
非常感谢!

解决方法

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

猜你在找的Python相关文章