摘要: 选择 File and Code Templates -> Files -> Python Script #!/usr/bin/env python # encoding: utf-8 ''' @author: gaoyongxian666 @license: (C) Copyright 2013- 阅读全文
posted @ 2018-04-09 20:41 Gaoyongxian666 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 四步: 1.发起请求 1.1会使用浏览器的调试 1。通常第一个都是文档形式,就是网页的源代码 2。get直接请求而post要构建表单,这个fromdata就会加到请求体中键值对 3。url编码,如果想看url中%数据,就去解码,当然想要在url中加数据就要url编码 4。请求头,也是键值对,放到字典 阅读全文
posted @ 2018-04-09 20:22 Gaoyongxian666 阅读(165) 评论(0) 推荐(0) 编辑
摘要: pip 三种安装方式 pip install xxx pip install xxx.whl(https://www.lfd.uci.edu/~gohlke/pythonlibs) pip setup.py install pip生成依赖文件 pip freeze > requirement.txt 阅读全文
posted @ 2018-04-09 19:36 Gaoyongxian666 阅读(173) 评论(0) 推荐(0) 编辑