浏览器打不开python的页面_Python中的网页浏览器问题

论坛 期权论坛 脚本     
匿名技术用户   2021-1-11 17:46   10792   0

I'm opening a webpage in the default webbrowser on the system using python's webbrowser module.

I want to check if the site is already open in the browser and only open a new tab/window if it is not. Otherwise reload the already opened page.

Is there a way to do this with webbrowser module? If not, is there any other module i can use to do this.

解决方案

I don't think this is currently possible with the webbrowser module. There was a bug filed for this, but it was closed with status "Won't fix":

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP