20.3. Related Topics

SWIG

There is an external tool available called SWIG, which stands for Simplified Wrapper and Interface Generator. It was written by David Beazley, also the author of Python Essential Reference, and is a software tool that can take annotated C/C++ header files and generate wrapped code, ready to compile for Python, Tcl, and Perl. In fact, it is so simple that once you get comfortable using it, you can practically bypass everything we have discussed in this chapter! You can find out more information about SWIG from its main Web site located at the following Web address (URL):

Embedding

Embedding is another feature which is available in Python. It is the inverse of an extension. Rather than taking C ...

Get Core Python Programming 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.