- 完全可用
无结束(终止or关闭)默认浏览器,可能会占用部分内存
python 3,绝对稳定!
import webbrowser
import time
while(1):
time.sleep(5)#延时设置量
webbrowser.open("https://blog.youkuaiyun.com/GodOuO",0,False)#网址设置
-
图例所示

-
like this:

本文介绍了一个使用 Python 编写的简单脚本,该脚本能够定时打开并刷新指定网页,利用 Python 的 webbrowser 和 time 模块实现。此脚本在运行过程中不会结束,默认浏览器可能持续占用内存。
无结束(终止or关闭)默认浏览器,可能会占用部分内存
python 3,绝对稳定!
import webbrowser
import time
while(1):
time.sleep(5)#延时设置量
webbrowser.open("https://blog.youkuaiyun.com/GodOuO",0,False)#网址设置
图例所示

like this:


被折叠的 条评论
为什么被折叠?