[Python-de] Tkinter Problem

Michael Lauer mlauer at stud.uni-frankfurt.de
Mon Aug 12 03:00:56 EDT 2002


Servus,

> from Tkinter import *
> root=Tk()
> win=Toplevel(root)
> win.pack()
> Lable(win, text="Hello").pack(side=TOP)
> Button(win, text="Close").pack(side=RIGHT)
> win.mainloop()

Hmm... sieht irgendwie redundant aus... probiers mit

from Tkinter import *
win=Tk()
Label(win, text="Hello").pack(side=TOP)
Button(win, text="Close").pack(side=RIGHT)
win.mainloop()

: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