运维网's Archiver
论坛
›
Python
› python打开网页
9404803
发表于 2017-4-26 08:32:35
python打开网页
import webbrowser
import time
webbrowser.open("http://www.sina.com.cn")
# wait a while, and then go to another page
time.sleep(5)
webbrowser.open(
"http://www.163.com"
)
页:
[1]
查看完整版本:
python打开网页