如何将文件保存到Jupyter Notebook中的目录中?
我在以下位置调用"jupyter笔记本":
I invoke "jupyter notebook" under:
[abigail@localhost anaconda3]$ jupyter notebook
默认情况下,当我单击文件" =>保存"时,它将以扩展名"ipynb"保存到anaconda3/目录.
By default, it saves to the directory of anaconda3/ with an extension of "ipynb" when I click "File" => "Save".
如何将其保存到anaconda3/下的目录,而不是默认位置?笔记本中没有另存为"命令吗?
How to save it to a directory under anaconda3/, instead of the default location? There is not a "save as" command in notebook?
您可以使用文件"->下载为"->笔记本(.ipynb)"选项将笔记本保存到您选择的位置.从菜单中.
You can save a notebook to a location of your choice by using the "File" -> "Download as" -> "Notebook (.ipynb)" option from the menu.
或者,您可以从其他目录启动笔记本服务器,它将所有笔记本保存到该目录.
Alternatively you can start your notebook server from a different directory and it will save all notebooks to that directory.
第三个选项是导航到要在树形视图中将笔记本保存到的目录" http: //127.0.0.1:8888/tree ",然后创建笔记本.
A third option is to navigate to the directory you want the notebook to be saved to in the tree view "http://127.0.0.1:8888/tree" prior to creating the notebook.