title: Cyclic imports and subclasses in Python
body: <p>Relatively new to Python here. I was getting errors for cyclic imports, so I changed all my import statements to <code>import *module name*</code></p>
  
  <p>I want to do something like this (below would be module2):</p>
  
  <pre><code>import module1
  
  class Subclass(Superclass)
      # some code
  </code></pre>
  
  <p>where Superclass is defined in modeule1 and Subclass inherits from Superclass.</p>
  
  <p>I am getting the error that Superclass is not defined. I've tried with <code>class Subclass(module1.Superclass)</code> as well, but I can't seem to figure out how to get it to work. Thanks!</p>