📅  最后修改于: 2022-03-11 14:47:16.783000             🧑  作者: Mango
root = Tk()
#make sure that you define your Tkinter window , even though if you dont by impoerting tkinter if no Tk() window is defined it will automatically create one
root.destroy()
#here Tk.destroy() WILL NOT WORK