现在是代码默认打开它能找到的Chrome,通常在C盘。开那个安装的谷歌,就是可以用微软设置卸载的那个。以及下图代表的含义
可以使用内置的webbrowser模块,自动启动默认浏览器。
import webbrowser webbrowser.open("网址")
返回True表示打开成功