Open IE Browser Window

后端 未结 7 500
梦谈多话
梦谈多话 2021-02-05 17:59

The webbrowser library provides a convenient way to launch a URL with a browser window through the webbrowser.open() method. Numerous browser types are available, b

7条回答
  •  名媛妹妹
    2021-02-05 18:27

    The simplest way:

    import subprocess
    subprocess.Popen(r'"C:\Program Files\Internet Explorer\IEXPLORE.EXE" www.google.com')
    

提交回复
热议问题