adding python engine into c++ application

bobicanprogram icanbob at gmail.com
Fri Jan 1 13:39:47 CET 2010


On Dec 29 2009, 6:25 am, griwes <griwes.m... at gmail.com> wrote:
> Hello, I am going to write an application in C++, application which
> should be easy to extend by scripts. I chose python for script
> language in this application. I'd like to have own API for python. And
> here the question arises: how do I implement a python engine within an
> application written in C++?
>
> Sory for any mistakes, english isn't my native language ;)


If you want to keep your C++ and Python as separate but interacting
modules you might want to check out the SIMPL project's (http://
www.icanprogram.com/SIMPL) Python hooks.   There is some tutorial
level code here:

http://www.icanprogram.com/06py/main.html

bob



More information about the Python-list mailing list