Python GUIs: Abandoning TkInter and welcoming wxPython?

Ernst-Udo Wallenborn wallenborn at
Tue Jun 29 15:02:40 CEST 1999

To ask a completely different question: What about
threads and GUI? With Tkinter you have to rewirte the
mainloop like this

    def mainloop(self):
        while 1:
            if self.quitting == 1:

to convince it to run with thread or threading.  I remember having
read a comment from Guido van Rossum, citing Jan Osterhout that Tk
will never be thread-safe and that therefore this problem will not go

Would this be any different with a different GUI kit?

Ernst-Udo Wallenborn
Laboratorium fuer Physikalische Chemie
ETH Zuerich

More information about the Python-list mailing list