当前位置:网站首页>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内核
边栏推荐
- Mini Golf Course: a good place for leisure and tourism in London
- Three ways of function parameter transfer in C language
- 聊聊电商系统中红包活动设计
- 鸿蒙第四次学习
- The text editor hopes to mark the wrong sentences in red, and the text editor uses markdown
- Exness in-depth good article: dynamic series - Case Analysis of gold liquidity (V)
- 深度学习数学基础
- UML class diagram
- R语言ggplot2可视化:gganimate包创建动态柱状图动画(gif)、使用transition_states函数在动画中沿给定维度逐步显示柱状图
- #gStore-weekly | gStore源码解析(四):安全机制之黑白名单配置解析
猜你喜欢

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

【JVM调优实战100例】02——虚拟机栈与本地方法栈调优五例

How to enable the run dashboard function of idea

Hongmeng's fourth learning
![[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

使用CLion编译OGLPG-9th-Edition源码

Learning summary of MySQL advanced 6: concept and understanding of index, detailed explanation of b+ tree generation process, comparison between MyISAM and InnoDB

Installation of thingsboard, an open source IOT platform

高频面试题

Stm32g0 USB DFU upgrade verification error -2
随机推荐
拦截器与过滤器的区别
Industrial software lecture - core technology analysis of 3D CAD design software - the second lecture of the Forum
The difference between interceptor and filter
使用CLion编译OGLPG-9th-Edition源码
Which securities company has a low, safe and reliable online account opening commission
Leetcode (81) -- search rotation sort array II
Progress-进度条
Leetcode (154) -- find the minimum value II in the rotation sort array
Leetcode(81)——搜索旋转排序数组 II
页面标题组件
How to delete the border of links in IE? [repeat] - how to remove borders around links in IE? [duplicate]
Chain game system development (unity3d chain game development details) - chain game development mature technology source code
Obligatoire pour les débutants, cliquez sur deux boutons pour passer à un contenu différent
Masa framework - DDD design (1)
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 大坑,你踩过没?
故障排查:kubectl报错ValidationError: unknown field \u00a0
[100 cases of JVM tuning practice] 03 -- four cases of JVM heap tuning
Imitation Jingdong magnifying glass effect (pink teacher version)