How to Solve NameError: name 'Font' is not defined -- tkinter

Solution: Import the 'Font' module

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

from tkinter.font import Font

 

For more information:
Python tkinter Font