Python inside C++

Kushal Kumaran kushal.kumaran at
Mon Apr 13 15:41:52 CEST 2009

On Wed, Apr 15, 2009 at 8:56 AM, AJ Mayorga <aj at> wrote:
> Hello all,
> I am looking for a way  to statically compile pythonxx.dll into my C++
> application, so that I can use It as an internal scripting language and
> either run the native python code or take an ELF from py2exe/pyinstaller and
> run that.
> The machines that will have my C++ app running on them do not have python
> and I cannot install it as part of my application. Any Ideas?

It's called embedding.  See the documentation on Extending and
Embedding the Python Interpreter.


More information about the Python-list mailing list