|
how to obtain a (python) object's __name__ special attribute: msg#00260python.c++
hi there, I'v successfully read in a derived class definition from a python script into my C++ application, and I have instantiated it. How can I now determine the 'type name' of the object ? I try attr("__name__") but it appears the __name__ attribute isn't visible as an ordinary attribute, i.e. this call raises an exception. Thanks, Stefan |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Recent changes to FAQ: 00260, Ralf W. Grosse-Kunstleve |
|---|---|
| Next by Date: | Re: Converting CString to/from std::string: 00260, Ralf W. Grosse-Kunstleve |
| Previous by Thread: | Chat roomsi: 00260, Grant McCall |
| Next by Thread: | Re: how to obtain a (python) object's __name__ special attribute: 00260, Ralf W. Grosse-Kunstleve |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |