仅用于测试
#!/usr/bin/python import webbrowser as web import time import os url = 'www.abc.com' while True: i = 0 while i <= 5: web.open(url) i = i + 1 time.sleep(2.0) else: os.system('killall firefox')