正文jupyter notebook 将当前目录设置为工作目录IP云V管理员/2022-09-09/0 阅读 09/09小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 生成配置文件首先打开你的CMD或者是终端(Linux),在你配置过环境变量的基础下,你直接输入以下命令:jupyter notebook --generate-config然后打开生成的配置文件,将#c.NotebookApp.notebook_dir = ''修改为c.NotebookApp.notebook_dir = '.'保存关闭后,下次运行jupyter notebook时,工作目录就是启动目录了。