import tkinter window = tkinter.Tk() # creating the window object window.title('my first GUI program') # write your code here window.mainloop() # keeping the window until we close it