python class on variable set code example
Example: python set class variable
class MyClass:
static_elem = 123 # This is a static element belonging to the class
def __init__(self):
self.object_elem = 456 # This is an instance / object element