课程
/后端开发
/Python
/Python-走进Requests库
比如:
response=urllib2.urlopen('http://www.baidu.com/')
print response.info()
有人知道这个info()获取的是什么东西吗
2018-01-19
源自:Python-走进Requests库 2-2
正在回答
打印的是header信息
LNYIE 提问者
举报
python类库中,requests是一件利器,想深入了解一起来学吧