How to Solve NameError: name 'Employee' is not defined -- Employee

Solution: Import the 'Employee' module

To Solve the error, add the following line to the top of your code.

from Employee import Employee

 

For more information:
Python Employee Employee