当前位置:网站首页>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
边栏推荐
- Sklearn data preprocessing
- 【Oracle 11g】Redhat 6.5 安装 Oracle11g
- SAP ALV data export many of the bugs
- mysql summary
- codeforces Valera and Elections (这思维题是做不明白了)
- Quectel EC20 4G module dial related
- failed (13: Permission denied) while connecting to upstream
- Service
- Altium designer software commonly used the most complete package library, including schematic library, PCB library and 3D model library
- 什么是分布式事务
猜你喜欢
C语言的内置宏(定义日志宏)
更改Jupyter Notebook默认打开目录
排序第四节——归并排序(附有自己的视频讲解)
什么是分布式事务
长沙学院2022暑假训练赛(一)六级阅读
Altium designer software commonly used the most complete package library, including schematic library, PCB library and 3D model library
找不到和chrome浏览器版本不同的chromedriver的解决方法
虚拟机网卡报错:Bringing up interface eth0: Error: No suitable device found: no device found for connection
【模板】树链剖分 P3384
The Integer thread safe
随机推荐
Leetcode 70 stairs issues (Fibonacci number)
我入职阿里后,才知道原来简历这么写
redis学习笔记
变压器的工作原理(图解,原理图讲解,一看就懂)
Codeforces Round #359 (Div. 2) C. Robbers' watch 暴力枚举
2017 G icpc shenyang Infinite Fraction Path BFS + pruning
高德地图JS - 已知经纬度来获取街道、城市、详细地址等信息
failed (13: Permission denied) while connecting to upstream
移远EC20 4G模块拨号相关
vlucas/phpdotenv phpdotenv获取变量内容偶尔出现返回false
买口罩(0-1背包)
list与string转换
Forest Program dfs+tanjar仙人掌
Explain the wait() function and waitpid() function in C language in detail
【烂笔头】各厂商手机手动抓log
Altium designer软件常用最全封装库,包含原理图库、PCB库和3D模型库
常见的分布式事务解决方案
jmeter concurrency and some limitations of the press
MUI无法滚动?完美解决
线程池总结