how to tell where tkinter mainloop code example Example: tkinter mainloop from tkinter import* root=Tk() root.mainloop