Run the Tk main event loop on the default root window until all windows are destroyed. Equivalent to calling Misc.mainloop() on the default root.
tkinter/mainloop
mainloop