打开生成的jupyter_notebook_config.py文件,你需要在文件中找到或添加一行来设置默认的启动目录。默认情况下,Jupyter Notebook的启动目录通常是启动它的命令行所在的目录,或者是在安装时设置的某个默认目录。 要在配置文件中设置默认目录,你需要找到或添加如下行: python # Set default folder for notebooks c.Noteboo...
jupyter notebook --notebook-dir [LOCATION] Change the default directory by generating a config file Start the Python Command Prompt by clickingStart>ArcGIS>Python Command Prompt. Type the command below to create a config folder. jupyter notebook --generate-config Navigate to the following folder ...
设置默认打开路径 cmd中输入jupyter notebook --generate-config查看路径,显示如下 C:\Users\Anthony Dave\.jupyter\jupyter_notebook_config.pywithdefault config? 打开上述路径文件,Ctrl+F搜索#c.NotebookApp.notebook_dir = '',改成如下 c.NotebookApp.notebook_dir ='/the/path/to/home/folder/'(forwards...
进入配置文件后查找关键词“c.NotebookApp.notebook_dir”。查找方法如下: 进入配置文件后不要按其他键,用英文半角直接输入/c.NotebookApp.notebook_dir,这时搜索的关键词已在文档中高亮显示了,按回车,光标从底部切换到文档正文中被查找关键词的首字母。 ⒞ 编辑配置文件 按小写i进入编辑模式,底部出现“--INSER...
jupyter notebook -h 1. 启动 ① 默认端口启动 在终端中输入以下命令: jupyter notebook 执行命令之后,在终端中将会显示一系列notebook的服务器信息,同时浏览器将会自动启动Jupyter Notebook。 启动过程中终端显示内容如下: $ jupyter notebook [I08:58:24.417NotebookApp] Serving notebooks from local directory:...
Check to see if you have a notebook configuration file, jupyter_notebook_config.py . The default location for this file is your Jupyter folder located in your home directory: Windows: C:\Users\USERNAME\.jupyter\jupyter_notebook_config.py ...
比如:jupyter notebook --generate-config 配置文件和命令行选项 可以使用各种命令行参数运行笔记本服务器。可在以下选项部分找到可用选项列表。 也可以通过创建jupyter_notebook_config.pyJupyter文件夹中指定的文件来设置这些选项的默认值 。Jupyter文件夹位于您的主目录中~/.jupyter。
jupyter notebook -h 1. 启动① 默认端口启动 在终端中输入以下命令: jupyter notebook 执行命令之后,在终端中将会显示一系列notebook的服务器信息,同时浏览器将会自动启动Jupyter Notebook。 启动过程中终端显示内容如下: $ jupyter notebook [I 08:58:24.417 NotebookApp] Serving notebooksfromlocal directory: ...
jupyter notebook -h 1. 启动 ① 默认端口启动 在终端中输入以下命令: jupyter notebook 执行命令之后,在终端中将会显示一系列notebook的服务器信息,同时浏览器将会自动启动Jupyter Notebook。 启动过程中终端显示内容如下: $ jupyter notebook [I 08:58:24.417 ...
安装Jupyter Notebook pipinstalljupyter 1. 三、运行Jupyter Notebook 0. 帮助 如果你有任何jupyter notebook命令的疑问,可以考虑查看官方帮助文档,命令如下: jupyternotebook--help 1. 或 jupyternotebook-h 1. 1. 启动 ① 默认端口启动 在终端中输入以下命令: ...