📜  如何更改 jupyter 导航器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:19.971000             🧑  作者: Mango

代码示例1
'''How to change the default browser used by the ipython/jupyter'''

#Step 1: To open Anaconda Prompt from the Start Menu and type
#This will generate the file ~/.jupyter/jupyter_notebook_config.py
jupyter notebook --generate-config

#Step 2: Edit this file and change the following line (chrome is also is also in a local installation)
c.NotebookApp.browser = u'C:/Home/AppData/Local/Google/Chrome/Application/chrome.exe %s'