上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 1.beautifulsoup https://www.crummy.com/software/BeautifulSoup/bs4/doc.zh/ pip install beautifulsoup4 1.1 解析库 建议lxml 1.2 解析 四个对象: tag对象的:string。gettext 阅读全文
posted @ 2018-04-10 20:43 Gaoyongxian666 阅读(147) 评论(0) 推荐(0) 编辑
摘要: http请求,或者response都是二进制的 1.urllib不推荐用 1.1 python内置的HTTP请求库 urllib.request 请求 urllib.error 异常 urllib.parse url拼接 urllib.robotparse 不用 1.2urllib.request 阅读全文
posted @ 2018-04-10 19:18 Gaoyongxian666 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 选择 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) 编辑
摘要: 1.声明(Declaration)部分 又称为“前言”(Prolog)是一条XML指令,位于文档的首行。例如: <?xml version="1.0" encoding="gb2312" standalone="yes"?> 该行的内容包括: <?……?>:表示该行是一条指令。 xml:表示该文件是 阅读全文
posted @ 2018-04-08 19:28 Gaoyongxian666 阅读(195) 评论(0) 推荐(0) 编辑
摘要: upcoming events,即将发生的事 after setup 安装后 workbench 后台 阅读全文
posted @ 2018-04-07 19:17 Gaoyongxian666 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 线性布局 两边靠 隐形的button设置weight 两边距边,再设置控件长度, 阅读全文
posted @ 2018-04-06 21:07 Gaoyongxian666 阅读(120) 评论(0) 推荐(0) 编辑
摘要: elements 是基础版 sp是破解版 hd是原版 阅读全文
posted @ 2018-04-06 10:54 Gaoyongxian666 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-04-02 22:12 Gaoyongxian666 阅读(329) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页