3 % XXX PM explain how to add new types to Python
5 \title{Extending and Embedding the Python Interpreter
}
9 % Tell \index to actually write the .idx file
17 \chapter*
{Front Matter
\label{front
}}
26 Python is an interpreted, object-oriented programming language. This
27 document describes how to write modules in C or
\Cpp{} to extend the
28 Python interpreter with new modules. Those modules can define new
29 functions but also new object types and their methods. The
document
30 also describes how to embed the Python interpreter in another
31 application, for use as an extension language. Finally, it shows how
32 to compile and link extension modules so that they can be loaded
33 dynamically (at run time) into the interpreter, if the underlying
34 operating system supports this feature.
36 This
document assumes basic knowledge about Python. For an informal
37 introduction to the language, see the
38 \citetitle[../tut/tut.html
]{Python Tutorial
}. The
39 \citetitle[../ref/ref.html
]{Python Reference Manual
} gives a more
40 formal definition of the language. The
41 \citetitle[../lib/lib.html
]{Python Library Reference
} documents the
42 existing object types, functions and modules (both built-in and
43 written in Python) that give the language its wide application range.
45 For a detailed description of the whole Python/C API, see the separate
46 \citetitle[../api/api.html
]{Python/C API Reference Manual
}.
61 \chapter{Reporting Bugs
}
64 \chapter{History and License
}