导航

2018年8月3日

摘要: https://blog.csdn.net/u011054333/article/details/70165401 阅读全文

posted @ 2018-08-03 16:52 kingwangzhen 阅读(209) 评论(0) 推荐(0) 编辑

摘要: Pillow https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/0014320027235877860c87af5544f25a8deeb55141d60c5000 阅读: 9980 阅读全文

posted @ 2018-08-03 16:41 kingwangzhen 阅读(138) 评论(0) 推荐(0) 编辑

摘要: python数据格式化之pprint python数据格式化之pprint 2017年06月17日 13:56:33 阅读数:2291 2017年06月17日 13:56:33 阅读数:2291 阅读数:2291 简介 pprint模块 提供了打印出任何Python数据结构类和方法。 模块方法: 1 阅读全文

posted @ 2018-08-03 16:38 kingwangzhen 阅读(309) 评论(0) 推荐(0) 编辑

摘要: 使用Mechanize实现自动化表单处理 mechanize是对urllib2的部分功能的替换,能够更好的模拟浏览器行为,在web访问控制方面做得更全面 mechanize的特点: 1 http,https协议等 2 简单的HTML表单填写 3 浏览器历史记录和重载 4 Referer的HTTP头的 阅读全文

posted @ 2018-08-03 16:20 kingwangzhen 阅读(194) 评论(0) 推荐(0) 编辑

摘要: beautifulSoup基本用法及find选择器 总结来源于官方文档:https://www.crummy.com/software/BeautifulSoup/bs4/doc/index.zh.html#find-all 示例代码段 html_doc = """ <html> <head><ti 阅读全文

posted @ 2018-08-03 14:54 kingwangzhen 阅读(272) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/c406495762/article/details/60137956 运行平台:Windows Python版本:Python3.x IDE:Sublime text3 转载请注明作者和出处:http://blog.csdn.net/c406495762 阅读全文

posted @ 2018-08-03 09:51 kingwangzhen 阅读(275) 评论(0) 推荐(0) 编辑

摘要: 阅读目录 urllib.request 1. 快速请求 2.模拟PC浏览器和手机浏览器 3.Cookie的使用 4.设置代理 urllib.error URLError HTTPError urllib.parse 安装: urllib3的使用: urllib包 urllib是一个包含几个模块来处理 阅读全文

posted @ 2018-08-03 09:27 kingwangzhen 阅读(1005) 评论(0) 推荐(0) 编辑