1 首先通过cmd调出命令行窗口,输入jupyter notebook --generate -config
如下图
会得到
2 找到jupyter_notebook_config.py文件,用编辑器打开, 搜索notebook_dir
引号中为我自己修改的路径
通过以上步骤修改后,用命令行打开jupyter notebook就变成修改的路径
想要在快捷方式打开还需要以下步骤
1 右击快捷方式 打开属性
2 把目标后面的 %userprofile%" 删除掉
大功告成
1 首先通过cmd调出命令行窗口,输入jupyter notebook --generate -config
如下图
会得到
2 找到jupyter_notebook_config.py文件,用编辑器打开, 搜索notebook_dir
引号中为我自己修改的路径
通过以上步骤修改后,用命令行打开jupyter notebook就变成修改的路径
想要在快捷方式打开还需要以下步骤
1 右击快捷方式 打开属性
2 把目标后面的 %userprofile%" 删除掉
大功告成