Answers for "close window tkiinter"

0

close window tkiinter

from tkinter import *

# creates the window
root = Tk()
root.mainloop()
# vanish out the root window (don't go background)
root.destroy()
Posted by: Guest on March-25-2022
0

close window tkiinter

from tkinter import *

# creates the window
root = Tk()
root.mainloop()
# Puts root running in background
root.quit()
Posted by: Guest on March-25-2022

Python Answers by Framework

Browse Popular Code Answers by Language