Answers for "how to destroy the previous window in tkinter"

2

Tk.destroy arguments

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
Posted by: Guest on May-18-2020
1

how to kill tkinter

root=Tk()
root.destroy()
Posted by: Guest on March-21-2020

Code answers related to "how to destroy the previous window in tkinter"

Python Answers by Framework

Browse Popular Code Answers by Language