Mailing List Archive

Python classes in C
How can I get the member variable's values from a python class from inside
my c .dlls???
I have seen PyObject_GetAttr C function, but I am unsure on how to use it.
Could someone post a small example showing both c and python side or point
me to one. I didn't see on in the docs.
Python classes in C [ In reply to ]
Hi

I haven't used them myself, but the FAQ could maybe solve some problems
(it've solved some for me)

http://www.python.org/doc/FAQ.html#5.9
http://www.python.org/doc/FAQ.html#5.5

Good Luck
-- Thomas S. Strinnhed
Arinte wrote:
>
> How can I get the member variable's values from a python class from inside
> my c .dlls???
> I have seen PyObject_GetAttr C function, but I am unsure on how to use it.
> Could someone post a small example showing both c and python side or point
> me to one. I didn't see on in the docs.