[Tkinter-discuss] Exiting a Tkinter Program-- An Anomaly or two

Kevin Walzer kw at codebykevin.com
Thu Feb 11 03:07:01 CET 2010


On 2/10/10 6:14 PM, Wayne Watson wrote:
>
> def Quit(self)
> self.running = False
> self.master.quit()
>
>

If you change self.master.quit() to sys.exit(), what happens?

(Also make sure that "import sys" is somewhere in the code.)

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the Tkinter-discuss mailing list