class class1 :
def method1(self):
print("Method1 in Class1")
class class2(class1) :
def method1(self):
class1.method1(self)
print("Method1 in Class2")
ob = class2()
ob.method1()
This is the question I have...
I want to call method1
of class1
outside of class2
.
Likewise, is there a method to call within ob.method1()
Without calling it inside method1
of class2
?