Calling python from C/C++

G’day,

where can I find a simple working example that demonstrates how to
create and
call a python function from C/C++? I’ve written an eventhandler for the
powermate device in C++ and want to call the relevant python
eventhandlers.

cheerio Berndt

On Sun, Feb 25, 2007 at 10:07:57AM +1030, Berndt Josef W. wrote:

G’day,

where can I find a simple working example that demonstrates how to create and
call a python function from C/C++? I’ve written an eventhandler for the
powermate device in C++ and want to call the relevant python eventhandlers.

cheerio Berndt

gr_feval.{h,cc,i} and the matching QA code.

Eric