I have written some code that uses attributes of an object:
class Foo: def __init__(self): self.bar = \"baz\" myFoo = Foo() print (myFoo.bar)
That's exactly what @property is meant for.