Strange terminal behavior after quitting Tkinter application

Chris ceball at
Wed Apr 18 09:33:24 CEST 2007


I'm puzzled by some strange behavior when my Python/Tkinter
application quits (on linux): the terminal from which I started Python
is messed up.

If start up python, then import the code below, then start the program
with Application(), then click the Quit button, my terminal never
prints anything again (such as commands I type).


import Tkinter
import sys

class Application(Tkinter.Tk):

    def __init__(self,**config):

    def quit_application(self):


Can anyone tell me what I'm doing wrong?

Thanks for your help.


More information about the Python-list mailing list