title: Call method of base class from derived class object python
body: <p>I have two class and methods having same name .I have the object of derived class. When i call the method (foo) from derived class object it should call the base class method.</p>
  
  <pre><code>class A:
      def foo(self):
          print "A Foo"
  
  class B(A):
      def foo(self):
          print "B Foo"
  
  b = B()
  b.foo() # "B Foo"
  </code></pre>
  
  <p>After doing some search i got some solution as below and not sure whether it is proper way of doing it or not</p>
  
  <pre><code>a = A()
  b.__class__.__bases__[0].foo(a) # A Foo
  </code></pre>
  
  <p>Is there any better way of doing it.</p>