Skip to content

Commit 1f2e6f4

Browse files
committed
README更新格式化
1 parent 3009afe commit 1f2e6f4

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -188,32 +188,32 @@
188188

189189
# 模拟登录相关
190190

191-
Requests
191+
Requests
192192
HTTP库,Requests 使用的是 urllib3,因此继承了它的所有特性。比Python 标准库中的 urllib 模块api简单
193193
http://cn.python-requests.org/zh_CN/latest/
194194

195-
Tornado
195+
Tornado
196196
用Python语言写成的Web服务器(非阻塞)兼Web应用框架
197197
http://demo.pythoner.com/itt2zh/index.html
198198

199-
Pyquery
199+
Pyquery
200200
一个类似于jQuery的Python库
201201
https://pythonhosted.org/pyquery/api.html#module-pyquery.pyquery
202202
安装顺序:libxml2 \libxslt \lxml \pyquery
203203

204-
Gevent
204+
Gevent
205205
gevent是一个基于libev的并发库
206206
[英文原版]http://sdiehl.github.io/gevent-tutorial/
207207
[中文指南]http://xlambda.com/gevent-tutorial/
208208

209209

210-
Gevent安装过程
210+
Gevent安装过程
211211
$ sudo apt-get install libevent-dev
212212
$ sudo apt-get install python-dev
213213
$ pip install greenlet
214214
$ pip install gevent
215215

216-
lxml安装过程
216+
lxml安装过程
217217
使用:$ sudo apt-get install libxml2 libxml2-dev 安装 libxml2
218218
使用:$ sudo apt-get install libxslt1.1 libxslt1-dev 安装 libxslt
219219
安装 python-libxml2 和 python-libxslt1 :
@@ -225,13 +225,13 @@
225225
安装完lxml之后,即可安装pyquery
226226
$ pip install pyquery
227227

228-
Tornado安装
228+
Tornado安装
229229
$ pip install tornado
230230

231-
==================================
232-
python
233231

234-
一、Python 禅道
232+
# python
233+
234+
一、Python 禅道
235235

236236
>>> import this
237237

@@ -245,7 +245,7 @@
245245
......
246246

247247

248-
二、代码风格
248+
二、代码风格
249249

250250
PEP 8: Python 代码风格指南
251251
https://www.python.org/dev/peps/pep-0008/
@@ -270,7 +270,7 @@
270270
使用下划线分隔方式命名方法或者函数
271271

272272

273-
三、数据类型
273+
三、数据类型
274274

275275
Python提供的基本数据类型主要有:布尔类型、整型、浮点型、字符串、列表、元组、集合、字典等等
276276

@@ -306,7 +306,7 @@
306306
9、字典(Dict)
307307
字典是一种无序存储结构,字典的格式为:dictionary = {key: value}
308308

309-
四、控制语句
309+
四、控制语句
310310

311311
pass
312312
空语句 do nothing

0 commit comments

Comments
 (0)