Embedding Python in c++
Brent Fulgham
brent.fulgham at xpsystems.com
Mon May 15 12:12:12 EDT 2000
>
> hi
>
> I want to use Python as a scriptinglanguage in my c++-framework.
> But I just can find the libaries I need to get it running.
> Im working under linux with Python 1.5
>
> greetings
> Charistoph Schemmann
>
Hi,
Titus Brown and I have gotten Python to work as an embedded
language in the C-based AOLserver (web server). I wrote the
extension module in C++, and it probably has examples of most
of what you need, plus examples of how to work with Python
alongside C, C++, and Tcl. What a mess! :-)
See http://pywx.sourceforge.net for details.
Basically to embed Python inside your framework you will need
to do a bit of Python extension as well. There are good examples
in the Python source distribution as well.
Good luck,
-Brent
More information about the Python-list
mailing list