会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
薅哩瑁坶
博客园
首页
新随笔
联系
订阅
管理
2020年5月6日
urllib 库
摘要: 一、get和post请求获取数据 获取网址源码 import urllib.request response = urllib.request.urlopen("https://www.baidu.com/") print(response.read().decode('utf 8')) get请求
阅读全文
posted @ 2020-05-06 11:52 旭东东
阅读(195)
评论(0)
推荐(0)
公告