I\'m doing it like:
def set_property(property,value): def get_property(property):
or
object.property = value value =
Check out the @property decorator.