from tkinter import * # creates the window root = Tk() root.mainloop() # Puts root running in background root.quit()