Question: Activities Write a python module that contains a set of classes that handles the following situation: we have a group of people that we organize

Activities Write a python module that contains a set of classes that handles the following situation: we have a group of people that we organize according to their relationships to the company Employee: Employees have names, titles, departments, bosses, salaries and start dates Customer: Customers have names, business names, responsible employees (oversee the account), account numbers and account sizes BusinessPartner: BusinessPartners have a names, business names, responsible employees, and business types (a string describing what the business does) Your code should organize these according to best practices discussed in class to avoid code duplication, i.e. any common information should be in a superclass (Hint: there should be a if you're having trouble identifying what could code in a superclass it can help to start out writing classes for each and then see where they overlap. Make sure that what is being pushed into the master class is truly the same information. n the same module write a short function that would take an input file containing a list of people and "sort" them into separate lists based on their "class." The function should return a list of people where each person has a type. Example, the file would contain: Employee, Inigo Montoya, Henchman, Enforcement, The Sicilian, O, 9/25/1987 Employee, Rick Deckard, Blade Runner, Rep-Detect, Harry Bryant, 0, 6/25/1982 Customer, The Dude, None, Inigo Montoya, 23145,10000 Business Partner, Tyler Durden, Project Mayhem, Rick Deckard, Club
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
