1.修改默认打开的文件夹
在“Anaconda Prompt ”中执行jupyter notebook --generate-config命令生成一个配置文件:jupyter_notebook_config.py
这里写上自己想要默认打开的文件夹即可
2.浏览器默认不进行跳转:
添加以下代码:使用的是edge浏览器
import webbrowser
webbrowser.register('edge', None, webbrowser.GenericBrowser(u'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe'))
c.NotebookApp.browser = 'edge'