今天看了个模拟IE客户端的东西。

import webbrowser as web
import os
import time
i = 0
#os.execve("taskkill /IM iexplore.exe")


while i < 100000:
web.open_new_tab("http://blog.sina.com.cn/s/blog_4b8379650102yekw.html")
time.sleep(0.7)
print(i)
i += 1
print(i)
if i%15 == 0:
os.system("taskkill /IM iexplore.exe")
print("kill iexplore", i)

原文地址:https://www.cnblogs.com/sunguoguang/p/9420145.html