当前位置:网站首页>Change Jupyter Notebook default open directory
Change Jupyter Notebook default open directory
2022-08-09 07:04:00 【Anakin6174】
Jupyter notebook is an interactive editor under anaconda, which is very convenient and easy to use.
By default, the opened directory is the user directory, and many other files are also stored in this directory, which is confusing. We can set a separate directory by ourselves.
When using the anaconda2 version before, you can directly modify the configuration file:
There is a jupyter_notebook_config.py file in the C:\Users\username.jupyter directory, edit the c.NotebookApp.notebook_dir in this file and remove the frontThe # (represents a comment), followed by the directory you want to specify;
For example: c.NotebookApp.notebook_dir = 'E:/PythonProjects/JupyterNotebook/'
Then save the file and restart jupyter notebook.
But in the anaconda3 version, just modifying this configuration file does not work, and you have to modify the properties of jupyte:
1. The right-click properties modify the starting position of the shortcut, and it is found that the default path cannot be modified.
2. Later, I found that there is a parameter %USERPROFILE% behind the "target", which obviously determines the directory, so I deleted this parameter and changed it to "specified directory", and then it's ok, remember to bring double quotation marks.That is, the path of the target and the starting position is the same, and the parameter %USERPROFILE% after the target must be replaced!!!
Reference articles:
1 https://blog.csdn.net/yukinoai/article/details/83087221
2 https://blog.csdn.net/yukinoai/article/details/83087221
3 https://www.cnblogs.com/zwt20120701/p/11253297.html
边栏推荐
- MUV LUV EXTRA 2019CCPC Qinhuangdao Station J Question KMP
- 半导体新能源智能装备整机软件系统方案设计
- 找不到和chrome浏览器版本不同的chromedriver的解决方法
- Altium designer software commonly used the most complete package library, including schematic library, PCB library and 3D model library
- 2017.10.26模拟 b energy
- 【模板】树链剖分 P3384
- makefile记录
- MySQL高级特性之分布式(XA)事务的介绍
- Thread Pool Summary
- 基于布朗运动的文本生成方法-LANGUAGE MODELING VIA STOCHASTIC PROCESSES
猜你喜欢
XILINX K7 FPGA+RK3399 PCIE驱动调试
排序第一节——插入排序(直接插入排序+希尔排序)(视频讲解26分钟)
The working principle of the transformer (illustration, schematic explanation, understand at a glance)
Quectel EC20 4G module dial related
图论,二叉树,dfs,bfs,dp,最短路专题
Variable used in lambda expression should be final or effectively final报错解决方案
leetcode 之 70 爬楼梯问题 (斐波那契数)
C语言的内置宏(定义日志宏)
The Integer thread safe
leetcode 之盛水问题
随机推荐
2017 G icpc shenyang Infinite Fraction Path BFS + pruning
子路由及路由出口配置
Use baidu EasyDL intelligent bin
Lottie系列三 :原理分析
多米诺骨牌
imageio读取.exr报错 ValueError: Could not find a backend to open `xxx.exr‘ with iomode `r`
leetcode 之 零移位
详解C语言中的wait()函数和waitpid()函数
【转载】Deep Learning(深度学习)学习笔记整理
SAP ALV data export many of the bugs
RK3568商显版开源鸿蒙板卡产品解决方案
Common Oracle Commands
SSL证书最长有效期13个月,还有必要一次申请多年吗?
unity第一课
AD picture PCB tutorial 20 minutes clear label shop operation process, copper network
HDU - 3183 A Magic Lamp 线段树
图论,二叉树,dfs,bfs,dp,最短路专题
无重复的字符的最长子串
找不到和chrome浏览器版本不同的chromedriver的解决方法
XILINX K7 FPGA+RK3399 PCIE驱动调试