How to Solve NameError: name 'Variable' is not defined -- OtherFile

Solution: Import the 'Variable' module

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

from OtherFile import Variable

 

For more information:
Python OtherFile Variable