当前位置 : 主页 > 编程语言 > python >

jupyter notebook 多行输出实例

来源:互联网 收集:自由互联 发布时间:2021-04-09
很多时候在一个cell中,我们不只有一个print,但默认只有一个print,所以我们进行多行输出,加入代码 from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = "all" 补

很多时候在一个cell中,我们不只有一个print,但默认只有一个print,所以我们进行多行输出,加入代码

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

补充知识:jupyter notebook 输出中文PDF的简便方法哦

一个简单的 Jupyter notebook 输出中文PDF文件的方法

直接浏览器虚拟打印  ,其实看着还是不错的!

以上这篇jupyter notebook 多行输出实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持易盾网络。

网友评论