__getattr__ and extend COM object
tiddlerdeja at my-deja.com
tiddlerdeja at my-deja.com
Tue May 9 18:51:20 EDT 2000
I have a COM object that I have makepy'd.
The COM object has a func DynamicProperty("WIBBLE") which gets WIBBLE
from the DB (acolumn on a table)
I'd like to extend my COM object using __getattr__ so that I could do
myobj.WIBBLE
instead of
myobj.DynamicProperty("WIBBLE")
Any suggestions as to how I can do this?
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list