The weave package allows the inclusion of C/C++ within Python code. It is part of the larger SciPy package (svpmc.weave. The Weaver class in that module provides a convenient API for running C/C++ code with weave.inline. See the C code file for an example of usage.
