Chapter 6. Extending and Embedding Python

What is your name? … What is your quest? … What is your favorite color?

The information provided in this chapter is a big step for those who want to be highly specialized in Python programming. It demonstrates how you can create Python extension modules in C and C++, and how you can embed Python objects in other non-Python applications.

Extending and Embedding Python

Python has the capability to glue applications together. No doubt this is one of Python's most important and well-known features. The reason for that is mostly because Python provides a two-way communication channel to C by supporting both embedding and extending functionality. Whenever you use Python code to call C code, you are extending Python. ...

Get Python Developer's Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.