Accessing a PyInstances dictionary from C++
Fredrik Lundh
fredrik at pythonware.com
Fri Jan 3 03:20:41 EST 2003
"Lloyd" wrote:
> I'm trying to call a method on a python object from C++. I have a PyInstance
> but can't for figure out how to obtain the dictionary from the instance so
> that I can call the method on the object.
see PyObject_CallMethod and PyObject_CallMethodObjArgs on the
following page:
http://www.python.org/doc/current/api/object.html
</F>
More information about the Python-list
mailing list