[Python-de] Re: [Python-de] Re: [Python-de] Python/Tkinter hängt
Michael Lauer
mlauer at stud.uni-frankfurt.de
Thu Jul 25 03:04:22 EDT 2002
Moin,
> import Tkinter
> from Tkconstants import *
> def quit():
> root.tk.quit() # kann wegfallen??
> root.destroy()
> root = Tkinter.Tk()
> root.wm_protocol('WM_DELETE_WINDOW', quit)
> root.mainloop()
> Verhält sich schon besser, aber immer noch nicht optimal. Mit
> Pythonw.exe gestartet, wird die Anwendung genau einmal sauber
> beendet. Mit python.exe sogar zweimal. Dann tritt das gleich
> Verhalten auf.
Hmm... das scheint mir doch eher ein Problem mit Deiner Installation zu
sein.
Das obige Programm funktioniert bei mir... auch ganz ganz oft
hintereinander :)
:M:
--
Michael 'Mickey' Lauer . . . . . . . . . mickey at Vanille.de
How could anyone know me - when I don't even know myself ?
More information about the Python-de
mailing list