These links are helpful to learning python.
The Python Tutorial --------------->http://docs.python.org/2/tutorial/
The Python Standard Library ----------->http://docs.python.org/2/library/index.html#library-index
The Python Language Reference --------------->http://docs.python.org/2/reference/index.html#reference-index
For a description of standard objects and modules, see The Python Standard Library.
The Python Language Reference gives a more formal definition of the language.
To writeextensions in C or C++, read Extending and Embedding the Python Interpreter andPython/C API Reference Manual.