[C++-sig] The easiest way to evoke a python function from a C++ application...?
Billy Gnosis
sirbender at freenet.de
Wed Feb 11 15:58:03 CET 2004
What is the easiest way to evoke a python function from a C++ application ?
I just want it for testing reasons and perhaps use it as a new way to
develop software.
I am new into python, but admire the fast and easy way to write code.
Actually I planned to set up most of the program in C++ in a more or
less complete way - this should be quickly possible by using Python
functions, that are later replaced by C code when the "design" of the
program is ok.
So I just want to call e.g. a python function string.split(...) and
return an array of strings to the C-Program. How is this most easily
done ? It can be very 'dirty' as it will be replaced later anyway. Does
somebody has example code?
Cheers,
sb
More information about the Cplusplus-sig
mailing list