I have a class
which is instantiated into an object. I would like to be able to generate a string, when I change any of the object's property. The string must contain the objects Name, the property's Name and the value that it changed to:
class Common(object):
pass
Obj = Common()
Obj.Name = 'MyName'
Obj.Size = 50
print Obj.Size
>50
Obj.Size = 100
I would like to have a string containing "Obj,Size,100" Is this possible ?