title: How to correctly call base class methods (and constructor) from inherited classes in Python?
body: <p>Suppose I have a <code>Base</code> class and a <code>Child</code> class that inherits from <code>Base</code>. What is the right way to call the constructor of base class from a child class in Python? Do I use <code>super</code>?</p>
  
  <p>Here is an example of what I have so far:</p>
  
  <pre><code>class Base(object):
     def __init__(self, value):
         self.value = value
     ...
  
  class Child(Base):
     def __init__(self, something_else):
         super(Child, self).__init__(value=20)
         self.something_else = something_else
     ...
  </code></pre>
  
  <p>Is this correct?</p>
  
  <p>Thanks, Boda Cydo.</p>