Python常用代码,置顶备用!

 1、jupyter notebook 设置全部行输出:

  # 设置全部行输出

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"

原文地址:https://www.cnblogs.com/datachen/p/11808574.html