Enter the Tk event loop, which processes events until all windows are destroyed. This is normally called once, on the root window, to run the application.
tkinter/Misc.mainloop
Misc.mainloop