Override the python special methods __getattr__ or __getattribute__.
http://docs.python.org/reference/datamodel.html#attribute-access
Alex
Jérémie Delaitre wrote:
Hello,
I have a C++ class that use a custom property system.
This property system allows me to add and remove properties at runtim
Hello,
I have a C++ class that use a custom property system.
This property system allows me to add and remove properties at runtime.
I want to expose this class into Python.
The problem is: I want "a dynamic resolution" of the properties in Python.
For example:
# import my python extension
im