user502039
user502039

Reputation:

Python: How can I make my tkinter app exit properly?

I need to know how to do this on a mac because whenever I try quitting it, I have to force quit it. Is there a proper way when the user clicks the exit button that Tkinter will exit normally?

Upvotes: 2

Views: 920

Answers (1)

user502039
user502039

Reputation:

I figured out how. I just put a simple exit() command after the main loop.

Upvotes: 2

Related Questions