embedded Python sample
mcherm at destiny.com
Tue Sep 10 18:44:07 CEST 2002
bruno Monnet wrote:
> I'm trying to call a python script from my c++ code. All I need is to
> invoke the script and check the return status.
> does anyone has a simple example ? All I found until now is very
> complex and ugly code :-((
Why not just execute as a sub-process... invoke it as a shell command
just as you'd do with "ls".
-- Michael Chermside
More information about the Python-list