当前位置:网站首页>juypter notebook 修改默认打开文件夹以及默认浏览器
juypter notebook 修改默认打开文件夹以及默认浏览器
2022-07-02 17:50:00 【tjh1998】
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'
找到自己的edge浏览器的位置,进行替换即可。
3.安装相对应的ipkernel:参考文章:
更换kernel内核
边栏推荐
- Leetcode (81) -- search rotation sort array II
- 拦截器与过滤器的区别
- R语言ggplot2可视化:可视化折线图、使用labs函数为折线图添加自定义的X轴标签信息
- 文字编辑器 希望有错误的句子用红色标红,文字编辑器用了markdown
- Redis (7) -- database and expiration key
- 论文导读 | 关于将预训练语言模型作为知识库的分析与批评
- Installation of thingsboard, an open source IOT platform
- Web实时通信技术之Websocket
- 电商系统中常见的 9 大坑,你踩过没?
- Have you stepped on the nine common pits in the e-commerce system?
猜你喜欢

Looking for innocence in New York -- a beautiful day at the discovery center of Legoland, New Jersey

拦截器与过滤器的区别

深度学习数学基础

UML 类图

论文导读 | 机器学习在数据库基数估计中的应用

迷你高尔夫球场:伦敦休闲旅游好去处

Excel查找一列中的相同值,删除该行或替换为空值

After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell
![[100 cases of JVM tuning practice] 03 -- four cases of JVM heap tuning](/img/54/8a18cd30e6186528599c0556b1ee3b.png)
[100 cases of JVM tuning practice] 03 -- four cases of JVM heap tuning

What is cloud primordial? This time, I can finally understand!
随机推荐
MySQL advanced learning summary 7: MySQL data structure - Comparison of hash index, AVL tree, B tree and b+ tree
UML 类图
The student Tiktok publicized that his alma mater was roast about "reducing the seal of enrollment". Netizen: hahahahahahahaha
【愚公系列】2022年07月 Go教学课程 001-Go语言前提简介
reduce--遍历元素计算 具体的计算公式需要传入 结合BigDecimal
R语言ggplot2可视化分面图(facet):gganimate包基于transition_time函数创建动态散点图动画(gif)
Kubernetes three open interfaces first sight
Three ways of function parameter transfer in C language
电商系统中常见的 9 大坑,你踩过没?
Learn the knowledge points of eight part essay ~ ~ 1
Progress-进度条
LightGroupButton* sender = static_ cast<LightGroupButton*>(QObject::sender());
聊聊电商系统中红包活动设计
ORA-01455: converting column overflows integer datatype
M2dgr: slam data set of multi-source and multi scene ground robot (ICRA 2022)
Golang并发编程——goroutine、channel、sync
Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
[100 cases of JVM tuning practice] 02 - five cases of virtual machine stack and local method stack tuning
A simple PHP personal card issuing program v4.0
options should NOT have additional properties