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

Solution: Import the 'Person' module

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

from Person import Person

 

For more information:
Python Person Person