2018年9月1日

Requests模块简单入门

摘要: 4、Requests示例 json请求 xml请求 5、参考文档 http://cn.python-requests.org/en/latest/ http://docs.python-requests.org/en/latest/user/quickstart.html 阅读全文

posted @ 2018-09-01 08:33 勇往直前的python小白 阅读(174) 评论(0) 推荐(0) 编辑

Python urllib模块

摘要: urllib模块中的方法 1.urllib.urlopen(url[,data[,proxies]]) 打开一个url的方法,返回一个文件对象,然后可以进行类似文件对象的操作。本例试着打开google urlopen返回对象提供方法: - read() , readline() ,readlines 阅读全文

posted @ 2018-09-01 08:15 勇往直前的python小白 阅读(287) 评论(0) 推荐(0) 编辑

导航