Changes due to added test for fileConfig contributed by Shane Hathaway.
[python.git] / Doc / ext / ext.tex
blobb4130d13a7e510de4b8b121e89014b7a2b67924f
1 \documentclass{manual}
3 % XXX PM explain how to add new types to Python
5 \title{Extending and Embedding the Python Interpreter}
7 \input{boilerplate}
9 % Tell \index to actually write the .idx file
10 \makeindex
12 \begin{document}
14 \maketitle
16 \ifhtml
17 \chapter*{Front Matter\label{front}}
18 \fi
20 \input{copyright}
23 \begin{abstract}
25 \noindent
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}.
48 \end{abstract}
50 \tableofcontents
53 \input{extending}
54 \input{newtypes}
55 \input{building}
56 \input{windows}
57 \input{embedding}
60 \appendix
61 \chapter{Reporting Bugs}
62 \input{reportingbugs}
64 \chapter{History and License}
65 \input{license}
67 \end{document}