Python常用代码,置顶备用!

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

  # 设置全部行输出

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

 

posted @ 2019-11-06 20:50  Geralt_of_Rivia  阅读(228)  评论(0编辑  收藏  举报