source: vendor/python/2.5/Doc/ext/ext.tex

Last change on this file was 3225, checked in by bird, 18 years ago

Python 2.5

File size: 1.7 KB
Line 
1\documentclass{manual}
2
3% XXX PM explain how to add new types to Python
4
5\title{Extending and Embedding the Python Interpreter}
6
7\input{boilerplate}
8
9% Tell \index to actually write the .idx file
10\makeindex
11
12\begin{document}
13
14\maketitle
15
16\ifhtml
17\chapter*{Front Matter\label{front}}
18\fi
19
20\input{copyright}
21
22
23\begin{abstract}
24
25\noindent
26Python is an interpreted, object-oriented programming language. This
27document describes how to write modules in C or \Cpp{} to extend the
28Python interpreter with new modules. Those modules can define new
29functions but also new object types and their methods. The document
30also describes how to embed the Python interpreter in another
31application, for use as an extension language. Finally, it shows how
32to compile and link extension modules so that they can be loaded
33dynamically (at run time) into the interpreter, if the underlying
34operating system supports this feature.
35
36This document assumes basic knowledge about Python. For an informal
37introduction to the language, see the
38\citetitle[../tut/tut.html]{Python Tutorial}. The
39\citetitle[../ref/ref.html]{Python Reference Manual} gives a more
40formal definition of the language. The
41\citetitle[../lib/lib.html]{Python Library Reference} documents the
42existing object types, functions and modules (both built-in and
43written in Python) that give the language its wide application range.
44
45For a detailed description of the whole Python/C API, see the separate
46\citetitle[../api/api.html]{Python/C API Reference Manual}.
47
48\end{abstract}
49
50\tableofcontents
51
52
53\input{extending}
54\input{newtypes}
55\input{building}
56\input{windows}
57\input{embedding}
58
59
60\appendix
61\chapter{Reporting Bugs}
62\input{reportingbugs}
63
64\chapter{History and License}
65\input{license}
66
67\end{document}
Note: See TracBrowser for help on using the repository browser.