共 2 篇文章 |
|
Python.Jupyter Notebook各种使用方法三、Jupyter的各种快捷键。即导入代码到jupyter notebook的cell中4.1 将本地的.py文件load到jupyter的一个cell中。问题背景:有一个test.py文件,需要将其载入到jupyter的一个cell中 test.py内容如下:然后,Shift+Enter运行,可以看到如下结果: 可以看到,运行后,%load test.py被自动加入了注释符号#,t... 阅143 转1 评0 公众公开 20-09-23 13:52 |