compiling python and calling it from C/C++

Szabolcs Nagy nszabolcs at gmail.com
Fri Jun 8 14:02:45 CEST 2007


Russ wrote:
> Is it possible to compile python code into a library (on unix), then
> link to it and call it from C/C++? If so, where can I learn how.
> Thanks.

not really but you may want to look into these:
http://codespeak.net/pypy
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
http://sourceforge.net/projects/shedskin/




More information about the Python-list mailing list