calling function of parent class python code example
Example 1: python3 call parent constructor
super(Instructor, self).__init__(name, year)
Example 2: call a function from another class python
class A:
def method1(arg1, arg2):
# do code here
class B:
A.method1(1,2)