Is there any good reason why one would assign a class to a variable as shown in the code below ? What are some useful/interesting things one can do thanks to that mechanic ?
class foo:
# Some initialization stuff
def __init__(self):
self.x = 0
# Some methods and other stuff
myVar = foo