title: Class Instantiation - Polymorphism - Python
body: <p>I used the following code </p>
  
  <pre><code>class FooBar:
      def __init__(self):
          self.x = 0
          self.y = 0
  
      def __init__(self, x, y, z):
          self.x = x
          self.y = y
          self.z = z
  </code></pre>
  
  <p>I save the above in <code>FooBar.py</code> </p>
  
  <p>When I use, </p>
  
  <pre><code>import FooBar
  p = FooBar() 
  </code></pre>
  
  <p>The error says <code>module object not callable</code>. What is the reason?  </p>