Extending and Embedding the Python Interpreter, by Guido van Rossum is included in HTML format with every Python distribution. Just click Help on the PythonWin toolbar.
O’Reilly’s Programming Python and IDG’s Internet Programming with Python, by Watters, van Rossum and Ahlstrom, both contain sections on extending and embedding. The former is far more detailed while the latter is ideal starting point for beginning C programmers.
SWIG lives at
http://www.swig.org/ and has good manuals
available for download.
is available from
http://www.multimania.com/marat/. You can
also find it, along with this book’s examples, at
are available in the
http://www.nightmare.com. The key files are
included with the examples at