jupyter notebook默认工程目录
就是在用户文件下的.jupyter ,安装了 jupyter notebook 后从终端打开,默认的一般有很多文件,看起来很繁杂,如果要写一个工程就会很乱,如何修改从终端打开后到自己想要的文件夹中呢
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/784989611d7d06720c599d64b6f23651.png)
默认的工程目录中如上
jupyter notebook修改工程目录方法
在终端中输入
jupyter notebook --generate-config
然后就生成一个配置文件:
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/e1b8092d3a180b5a3d2a041f6d362410.png)
生成的配置文件位置也显示出来了,找到并打开配置文件:
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/9147bbaedeb51bfe947add83160941ab.png)
然后在配置文件中搜索:
notebook_dir