📅  最后修改于: 2022-03-11 14:45:14.139000             🧑  作者: Mango
import tkinter
window = tkinter.Tk() # creating the window object
window.title('my first GUI program')
window.minsize(width=600, height=500) # makes the window 500*600
window.mainloop() # keeping the window until we close it