title: Uses of assigning a class to a variable in Python
body: <p>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 ?
  </p>
  
  <pre><code>class foo:
  
      # Some initialization stuff
      def __init__(self):
          self.x = 0
  
      # Some methods and other stuff
  
  myVar = foo
  </code></pre>