Open IE Browser Window

后端 未结 7 501
梦谈多话
梦谈多话 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:07

    More elegant code:

    import webbrowser
    
    ie = webbrowser.get(webbrowser.iexplore)
    ie.open('google.com')
    

提交回复
热议问题