Extending and Embedding Python
Extending
Python extensions are generally written in C/C++ using the Python/C API to implement functions and data types that can be called from the Python interpreter.
Embedding
Python embedding occurs when the Python interpreter is a subtask of a larger application. Note that embedded Python can also be extended.
FAQ
Examples
Official Documentation
[http://docs.python.org/ext/ext.html Extending and Embedding the Python Interpreter]
[http://docs.python.org/api/api.html Python/C API Reference Manual]
[http://www.python.org/doc/faq/extending.html Python Extending/Embedding FAQ]