当前位置:网站首页>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内核
边栏推荐
- #gStore-weekly | gStore源码解析(四):安全机制之黑白名单配置解析
- UML 类图
- Meta universe chain game system development (logic development) - chain game system development (detailed analysis)
- R语言dplyr包rowwise函数、mutate函数计算dataframe数据中多个数据列在每行的最大值、并生成行最大值对应的数据列(row maximum)
- Leetcode (154) -- find the minimum value II in the rotation sort array
- How to delete the border of links in IE? [repeat] - how to remove borders around links in IE? [duplicate]
- STM32G0 USB DFU 升级校验出错-2
- 【JVM调优实战100例】03——JVM堆调优四例
- How can retail enterprises open the second growth curve under the full link digital transformation
- Learn the knowledge points of eight part essay ~ ~ 1
猜你喜欢
Hongmeng's fourth learning
After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell
Excel查找一列中的相同值,删除该行或替换为空值
27: Chapter 3: develop Passport Service: 10: [registration / login] interface: after the registration / login is OK, save the user session information (uid, utoken) to redis and cookies; (one main poi
电商系统中常见的 9 大坑,你踩过没?
Yesterday, Alibaba senior wrote a responsibility chain model, and there were countless bugs
How to enable the run dashboard function of idea
Redis (6) -- object and data structure
故障排查:kubectl报错ValidationError: unknown field \u00a0
【每日一题】第二天
随机推荐
《病人家属,请来一下》读书笔记
Competence of product manager
Redis (6) -- object and data structure
MySQL advanced learning summary 7: MySQL data structure - Comparison of hash index, AVL tree, B tree and b+ tree
The difference between SLC, MLC, TLC and QLC NAND SSD: which is better?
[daily question] the next day
Yesterday, Alibaba senior wrote a responsibility chain model, and there were countless bugs
Hospital online inquiry source code hospital video inquiry source code hospital applet source code
Leetcode(154)——寻找旋转排序数组中的最小值 II
SLAM|如何时间戳对齐?
How to copy and paste interlaced in Excel
R language ggplot2 visualization: visualize the line chart and add customized X-axis label information to the line chart using labs function
Websocket of Web real-time communication technology
Progress-进度条
Stratégie touristique d'été de Singapour: un jour pour visiter l'île de San taosha à Singapour
在Tensorflow2中使用mnist_784数据集进行手写数字识别
第一次去曼谷旅游怎么玩?这份省钱攻略请收好
[论文阅读] CA-Net: Leveraging Contextual Features for Lung Cancer Prediction
Mini Golf Course: a good place for leisure and tourism in London
promise 和 Observable 的区别