
Python
春泥面包
这个作者很懒,什么都没留下…
展开
-
python语法图解
原文: http://blog.youkuaiyun.com/lonfee88/article/details/5997456转载 2013-11-21 15:55:27 · 1434 阅读 · 0 评论 -
python getattr
原文: http://www.cnblogs.com/pylemon/archive/2011/06/09/2076862.html转载 2014-05-20 15:39:42 · 658 阅读 · 0 评论 -
Python 相对导入
原文 : http://blog.youkuaiyun.com/liberize/article/details/8882659转载 2014-04-11 15:34:21 · 2268 阅读 · 0 评论 -
python关于__all__的定义
原文: __all__ See import. The public names defined by a module are determined by checking themodule's namespace for a variable named __all__; if defined, itmust be a sequence of strings which转载 2014-04-11 11:05:02 · 856 阅读 · 0 评论 -
Python中*args 和**kwargs的用法
原文: http://blog.youkuaiyun.com/chenjinyu_tang/article/details/8136841 好久没有学习python了,应为工作的需要,再次拾起python,唤起记忆。 当函数的参数不确定时,可以使用*args 和**kwargs,*args 没有key值,**kwargs有key值。 还是直接来代码吧,废话少说 [python]转载 2014-04-09 19:54:39 · 1013 阅读 · 0 评论 -
raw_input() 与 input() __ Python
原文: http://www.cnblogs.com/way_testlife/archive/2011/03/29/1999283.html转载 2014-04-09 15:19:38 · 745 阅读 · 0 评论 -
python pickle : dump , load variable into a file
原文: http://www.cnblogs.com/pzxbc/archive/2012/03/18/2404715.html转载 2014-05-09 14:26:28 · 1061 阅读 · 0 评论 -
python中thread的setDaemon、join的用法
原文: http://doudouclever.blog.163.com/blog/static/17511231020127232303469/ python中得thread的一些机制和C/C++不同:在C/C++中,主线程结束后,其子线程会默认被主线程kill掉。而在python中,主线程结束后,会默认等待子线程结束后,主线程才退出。 pytho转载 2014-04-21 15:37:37 · 588 阅读 · 0 评论 -
python Queue
原文: http://blog.youkuaiyun.com/bravezhe/article/details/8588437转载 2014-04-21 15:43:36 · 634 阅读 · 0 评论 -
python range xrange
http://ciniao.me/article.php?id=17转载 2014-04-21 15:19:45 · 692 阅读 · 0 评论 -
python _variable , __variable
原文: http://stackoverflow.com/questions/1301346/the-meaning-of-a-single-and-a-double-underscore-before-an-object-name-in-python转载 2014-04-16 11:31:34 · 958 阅读 · 0 评论 -
python 中的 __new__ 和 __init__
__new__:创建对象时调用,返回当前对象的一个实例相当于java里面的构造器差不多 __init__:创建完对象后调用,对当前对象的实例的一些初始化,无返回值 如果重写了__new__而在__new__里面没有调用__init__那么__init__将不起作用。 可以这样理解,默认是创建(__new__),然后调用__init__转载 2014-04-16 15:16:56 · 641 阅读 · 0 评论 -
Python 知识整理
我的python代码仓库 https://github.com/huntinux/python 收藏python的知识: 书籍:Python 2.7 Tutorial 中文版.pdf 基础教程: http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a00原创 2014-04-09 17:23:10 · 2418 阅读 · 0 评论