tkinter mainloop pythoin 3.6 code example Example: tkinter mainloop from tkinter import* root=Tk() root.mainloop