Getting result of dir(object) in C++

btheld2 at my-deja.com btheld2 at my-deja.com
Tue Feb 6 17:49:48 EST 2001


I need to get a string in C++ that contains all of the functions and
member data of a PyObject.

I know how to do this in raw python (dir(ob.__class__)), but how do I
do this in C++?  Assume I have a PyObject* retreived from
PyEval_EvalCode("objectstring")...

Ideas?


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list