【发布时间】:2021-10-26 04:49:15
【问题描述】:
无论我做什么,jupyter notebook 总是以 chrome 非隐身模式打开。 这是我的 jupyter_notebook_config.py 文件
## Specify what command to use to invoke a web browser when opening the notebook.
# If not specified, the default browser will be determined by the `webbrowser`
# standard library module, which allows setting of the BROWSER environment
# variable to override it.
# Default: ''
import webbrowser
webbrowser.register('incognito-chrome',None, webbrowser.get("C:/Program Files/Google/Chrome/Application/chrome.exe %s --incognito"))
c.ServerApp.browser = 'incognito-chrome'
请帮忙
【问题讨论】:
-
这能回答你的问题吗? Run jupyter notebook in incognito window
-
@Sys.Overdrive 这是我打开的第一个堆栈溢出问题。我从中复制了所有代码,然后将其调整为 google chrome incognito。但是,它没有用