1import tkinter
2
3window = tkinter.Tk() # creating the window object
4window.title('my first GUI program')
5window.minsize(width=600, height=500) # makes the window 500*600
6
7window.mainloop() # keeping the window until we close it