T
Torsten Bronger
Hallöchen!
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.
Tschö,
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.
Tschö,
Torsten.