Import Python Class/methods into C++
Stefan Behnel
behnel_ml at dvs1.informatik.tu-darmstadt.de
Mon Nov 8 07:15:19 EST 2004
Keith Moore schrieb:
> Can anyone show me an example of how to import a python class into a C++
> program?
> I am able to use PyImort_ImportModule to import a module, and
> PyObject_GetAttrString to import the function from the module.
> Now I converted that module to a class. I need to import methods from that
> class into my C++ program.
Have you tried elmer?
http://elmer.sourceforge.net/
Stefan
More information about the Python-list
mailing list