title: python class inheritance with separate script files
body: <p>I'm having an issue with my subclass not inheriting superclass attributes when the classes are in separate files.  When I run my main <code>bot.py</code> I get an error stating: </p>
  
  <pre><code>AttributeError: 'Serv' object has no attribute 'server'
  </code></pre>
  
  <p>Here is my example:</p>
  
  <h3>file 1 [bot.py]</h3>
  
  <pre><code>import commands
  
  class Bot(object):
      def __init__(self):
          self.server  = "myserver.domain.com"
  
      def getserv(self):
          return self.server
  
  if __name__ == "__main__":
      print( commands.Serv() )
  </code></pre>
  
  <h3>file 2 [commands.py]</h3>
  
  <pre><code>from bot import Bot
  
  class Serv(Bot):
      def __init__(self):
          return self.getserv()
  </code></pre>
  
  <p>I'm somewhat new to object inheritance in python and am sure this is a simple issue that I'm overlooking.  Any help identifying my problem would be greatly appreciated! Thanks in advance.</p>