Appendix B. Extending and Embedding Python

This appendix covers the C API used to build extension modules and embed the Python interpreter into other applications. It’s not intended to be a tutorial, so readers may want to consult the “Embedding and Extending the Python Interpreter” document available at http://www.python.org/doc/ext, as well as the “Python/C API Reference Manual” available at http://www.python.ord/doc/api. The functions described in this section are current as of Python 2.1 and are likely to be compatible with future releases of Python 2.x.

Get Python Essential Reference, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.