K
Keith Moore
I'm a Python newbie,
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.
Help!!!
Keith
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.
Help!!!
Keith