- Terms
PyPI - Python Package Index
The Python Package Index is a repository of software for the Python programming language.
PEP - Python Enhancement Proposal
http://www.python.org/dev/peps/
This PEP contains the index of all Python Enhancement Proposals, known as PEPs. PEP numbers are assigned by the PEP editors, and once assigned are never changed[1].
PEP 8 -- Style Guide for Python Code
http://www.python.org/dev/peps/pep-0008/
https://pypi.python.org/pypi/pep8
http://pep8.readthedocs.org/
RE - Regular Expression
r'\n' r - Raw
- Documentation Tool
Sphinx http://sphinx-doc.org/
reStructuredText http://docutils.sourceforge.net/rst.html
- Study
The Hitchhiker’s Guide to Python!
http://docs.python-guide.org/en/latest/
Python 绝对简明手册
http://wiki.woodpecker.org.cn/moin/PyAbsolutelyZipManual
简明 Python 教程
http://woodpecker.org.cn/abyteofpython_cn/chinese/index.html
Python Module of the Week
http://pymotw.com
https://code.google.com/p/pymotwcn/
The Python Module of the Week series, or PyMOTW, is a tour of the Python standard library through short examples.
Dive Into Python
http://woodpecker.org.cn/diveintopython/
http://www.diveintopython.net/index.html
>python -V
Python 2.7.4
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 4 def test(): 5 print 'hello, world' 6 7 if __name__ == "__main__": 8 test()