Up:
Python Documentation Index
Next:
Front Matter
Extending and Embedding the Python Interpreter
Guido van Rossum
Fred L. Drake, Jr., editor
Python Software Foundation
Email: [email protected]
Release 2.4
29 November 2004
- Front Matter
- Contents
- 1. Extending Python with C or C++
- 1.1 A Simple Example
- 1.2 Intermezzo: Errors and Exceptions
- 1.3 Back to the Example
- 1.4 The Module's Method Table and Initialization Function
- 1.5 Compilation and Linkage
- 1.6 Calling Python Functions from C
- 1.7 Extracting Parameters in Extension Functions
- 1.8 Keyword Parameters for Extension Functions
- 1.9 Building Arbitrary Values
- 1.10 Reference Counts
- 1.11 Writing Extensions in C++
- 1.12 Providing a C API for an Extension Module
- 2. Defining New Types
- 3. Building C and C++ Extensions with distutils
- 4. Building C and C++ Extensions on Windows
- 5. Embedding Python in Another Application
- A. Reporting Bugs
- B. History and License
- About this document ...
Release 2.4, documentation updated on 29 November 2004.