
python学习
youxi5d_s
这个作者很懒,什么都没留下…
展开
-
re.MatchObject() Python
re.match(),re.seatch()返回的对象MatchObject翻译 2015-12-02 11:17:05 · 2712 阅读 · 0 评论 -
re 正则表达式 Python
正则表达式从每行字符串的开头开始匹配,结尾停止,默认贪婪方式匹配,尽可能匹配多的。翻译 2015-12-02 19:12:38 · 337 阅读 · 0 评论 -
windows下安装Twisted Python
第一次windows下安装twisted原创 2015-12-03 19:48:05 · 608 阅读 · 0 评论 -
17.2. socket — Low-level networking interface Python
学多少,了解多少,写多少,总会写完文档的。翻译 2015-12-03 22:08:13 · 429 阅读 · 0 评论 -
__name__ Python
特殊属性__name__翻译 2015-12-04 11:04:43 · 305 阅读 · 0 评论 -
python 跳出两层for循环
今天找了python如何跳出两层for循环for i in xrange(N): for j in xrange(M): if something: break else: continue breakA break statement executed in the first suite terminates转载 2016-03-22 22:24:12 · 15522 阅读 · 0 评论 -
python 安装setuptools和pip
setuptoolshttps://pypi.python.org/pypi/setuptools#installation-instructions下载网站中的ez_setup.py,然后进入cmd,进入该文件目录,运行python ez_setup.py,等待,自动下载并安装完成,安装在python的Scripts文件夹中pip进入cmd,进入到python的Scripts文件转载 2016-03-24 17:06:04 · 491 阅读 · 0 评论 -
绑定和非绑定方法
绑定方法:方法的第一个参数为self,类的实例能够调用绑定方法非绑定方法:没有self参数,类能够调用该方法,非绑定方法用的比较少翻译 2016-03-15 15:16:04 · 423 阅读 · 0 评论