Python as an extension language

Miki Tebeka mtebeka at
Mon Mar 6 13:22:09 CET 2006

Hello Torsten,

> I'd like to use Python as an extension language for a C++ program.
> I.e., the user starts my program and gives a python script, either
> by file name or via stdin.  The python script triggers a couple of
> function calls within the C++ program, and afterwards my program
> exits.
> I already know how to do that in principle.  My only concern is
> distributing the thing, especially for the Windows platform.  Is it
> possible to create a bundle of my program and a light-weight Python
> interpreter, so that installation is easy and disk usage relatively
> small?  The Python scripts are not supposed to import modules after
> all, at least not explicitly.

Miki Tebeka <mtebeka at>
The only difference between children and adults is the price of the toys

More information about the Python-list mailing list