📜  python 在隐身模式下打开 url - Python 代码示例

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

代码示例1
import webbrowser

url = 'www.google.com'
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s --incognito'

webbrowser.get(chrome_path).open_new(url)