adding python engine into c++ application

Stefan Behnel stefan_ml at behnel.de
Tue Dec 29 08:51:59 EST 2009


griwes, 29.12.2009 12:25:
> 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++?

Since you likely want to establish some kind of Python level API that wraps 
your C++ code (so that Python code can talk to it), you might want to take 
a look at Cython:

http://cython.org

Stefan



More information about the Python-list mailing list