1 __debug__
http://python.usyiyi.cn/translate/python_278/library/constants.html
https://nestedinfiniteloops.wordpress.com/2012/01/15/if-debug-python-flavoured/
2 Python version of freopen()
https://stackoverflow.com/questions/16582194/python-version-of-freopen
3 defaultdict
http://kodango.com/understand-defaultdict-in-python
4 __name__
http://blog.csdn.net/jeff0x400/article/details/38086721
5 logging
http://www.codebelief.com/article/2017/05/python-logging-module-tutorial/
6 beanstalkc
http://beanstalkc.readthedocs.io/en/latest/tutorial.html
7 Python中单引号,双引号,3个单引号及3个双引号的区别
http://blog.csdn.net/woainishifu/article/details/76105667
8 图像处理标准库PIL(Python Imaging Library)
http://blog.csdn.net/xiangjai/article/details/51725106
9 异常处理
http://www.runoob.com/python/python-exceptions.html
10 collections模块
http://www.zlovezl.cn/articles/collections-in-python/
11 Python的import xx和from xx import *
http://magic-yao.iteye.com/blog/760395
12 hasattr用于确定一个对象是否具有某个属性。
语法:
hasattr(object, name) -> bool
判断object中是否有name属性,返回一个布尔值。