from tkinter import *
# creates the window
root = Tk()
root.mainloop()
# Puts root running in background
root.quit()
from tkinter import *
# creates the window
root = Tk()
root.mainloop()
# vanish out the root window (don't go background)
root.destroy()