I want to be able to monitor the variable and have a function inside of my class be called when an instance of my class is changed.
class Example:
def __init__(self, content):
self.content = content
example1 = Example('testing')
example1.content = 'testing123'
I would like to be able to check if example1.content
was changed/updated, and if it was changed, run some code.