Getting result of dir(object) in C++

btheld2 at btheld2 at
Tue Feb 6 23:49:48 CET 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


Sent via

More information about the Python-list mailing list