Extending Python with C or code
Subsections
Introduction
A Simple Example
Intermezzo: Errors and Exceptions
Back to the Example
The Module's Method Table and Initialization Function
Compilation and Linkage
Calling Python Functions From C
Format Strings for
PyArg_ParseTuple()
The
Py_BuildValue()
Function
Reference Counts
Introduction
Reference Counting in Python
Ownership Rules
Thin Ice
NULL Pointers
Writing Extensions in