摘要:
impory urllib.request response=urllib.request,urlopen('http://www.baidu.com') #请求站点获得一个httpResponse对象 print(response.reqd().decode('utf-8')) #返回网页内容 p 阅读全文
posted @ 2023-02-21 11:38 秋以为期1 阅读(17) 评论(0) 推荐(0)
posted @ 2023-02-21 11:38 秋以为期1 阅读(17) 评论(0) 推荐(0)
posted @ 2023-02-21 11:26 秋以为期1 阅读(44) 评论(0) 推荐(0)