CLASS INHERITANCE IN PYTHON how to call constructor of superclass code example
Example: how to call super class constructor in python two classes
from Employee import Employee
from Person import Person
class Manager(Person, Employee):
def __init__(self,lname, fname, phone_number, addy, start_date, salary, department, direct_reports):
Employee.__init__(self,start_date,salary)
Person.__init__(self,lname,fname,phone_number, addy)
self.department = department
self.direct_reports = direct_reports