How to Solve NameError: name 'Window' is not defined -- overlay

Solution: Import the 'Window' module

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

from overlay import Window

 

For more information:
Python overlay Window