Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # python 3.5.2
  2.  
  3. from tkinter import *
  4.  
  5. root = Tk()
  6. root.title("Test")
  7. root.mainloop()
  8.  
  9. # root.destroy() / root.quit() <== neither of these are effective
  10.  
  11. print("The window has now been closed") ## not unless the user crosses it off!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement