import urllib.request
response=urllib.request.urlopen("http://www.fishc.com")
html=response.read()
#解码操作
html=html.decode()
print(html)
python3.0学习一 打开网页
最新推荐文章于 2025-10-02 12:13:10 发布
import urllib.request
response=urllib.request.urlopen("http://www.fishc.com")
html=response.read()
#解码操作
html=html.decode()
print(html)
3万+

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