How to Solve NameError: name 'showinfo' is not defined -- tkinter
Solution: Import the 'showinfo' module
To Solve the error, add the following line to the top of your code.
from tkinter.messagebox import showinfo
For more information:
Python tkinter showinfo