Hey All, Apologies if this is a stupidly obvious or simple question. If I have a class with a series of attributes, is there a way to run a function definition in the class whenever a specific attribute is changed?
Something like the following class cSphere() : def __init__(self): Self.myAttr = 0 def runThisFunctionWhenMyAttrChanged() : Pass Thanks Mike. -- http://mail.python.org/mailman/listinfo/python-list