In python I can do this:
import mechanize
class MC (object):
def __init__(self):
self.Browser = mechanize.Browser()
self.Browser.set_handle_equiv(True)
def open (self,url):
self.url = url
self.Browser.open(self.url)
My question is: how can I __init__
a parent class method in a subclass (that is something like this):
class MC (mechanize.Browser):
def __init__(self):
self.Browser.set_handle_equiv(True)
Help much appriciated!