Sep-10-2017, 11:28 PM
You should have
root.mainloop()
in there somewhere, so the gui will listen to os events (like the CloseWindow event).