[英]Run script (.ipynb) that is out the folder of a jupyter notebook
Im trying to run a script (.ipynb) in a jupyter notebook, but this script is in a different folder from the original jupyter notebook.我试图在 jupyter notebook 中运行脚本(.ipynb),但这个脚本与原始 jupyter notebook 位于不同的文件夹中。 I would like to execute:我想执行:
%run Scripts/python/script.ipynb
The folder Scripts is out the folder of the jupyter notebook.文件夹Scripts不在 jupyter notebook 的文件夹中。
just copy paste file on jupyter root directory in my case it is Users/{user-name}/,在我的情况下,只需将粘贴文件复制到 jupyter 根目录,它是 Users/{user-name}/,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.