Good software to install:
- pylint
- windows + eclipse: 安装Pylint, Python Pylint/Pydev Code Checking in Eclipse
- Twisted
- 9.0.0 for python2.3. Need zopeInterface 3.01
- SQLAlchemy
- 0.4.6 for python2.3
- rpyc
- 不推荐使用。
经典好文:
- pylint tutorial
- some topics about Singleton
- 用python实现C/C++中的enum
- PEP 249 -- Python Database API Specification v2.0
- An Extended Introduction to the nose Unit Testing Framework
- 简单的python smtp发邮件代码
- Efficient String Concatenation in Python
开发环境(ECLIPSE)
安装Mysqldb
开发环境 Windows(Python for Windows extensions)
设计模式:
高级编程:
- python多线程机制
- python的类方法和类的静态方法
- 不用临时变量,交换两个数的值
- python import父模块方法
- 用.join来代替+操作
- traceback.format_exception(sys.exc_type, sys.exc_value,sys.exc_traceback)中的sys.exc_traceback已经被废弃了,因此采用traceback.format_exception(sys.exc_info()) 来代替是最好的方法。注:sys.exc_info() 会返回包含三个值的元组:Reference1 Reference2 第一个写法在Pydev中是被报错的。
- python中os.system()的返回值是0,256,512……
- python获得Shell脚本的返回值(用popen, system, commands...)
开发指南
- PyMOTW 中文版
- Config模块
- fcntl
- dateTime
- logging
- traceback
- PYC
- OptParse
- shutil
评论