from tkinter import * # import tkinter window = Tk() #create a window window.mainloop() #update window