Glueing Python with other languages

Daniel Dittmar daniel.dittmar at sap.com
Tue Apr 10 04:47:15 EDT 2001


> I am having trouble using Python as a glue with other languages. I
> can't seem to find any simple examples to show how to go about this.

If you want to call C/C++ from Python:
- Python source, directory Modules has lots of examples
- SWIG is the classic to generate this stuff from C declarations
- http://www.boost.org/libs/python/doc/index.html is the new kid on the
block

If you want to call Python from C:
http://www.python.org/doc/current/api/veryhigh.html

Daniel

--
Daniel Dittmar
daniel.dittmar at sap.com
SAP DB, SAP Labs Berlin
http://www.sapdb.org/






More information about the Python-list mailing list