Unnamed
public text v1 · immutablefrom Tkinter import *
def printit():
print "you pressed: hello"
print "also: ", zemic
top = Tk()
F = Frame(top)
F.pack(side='left')
Label(F, text="Hello").pack()
Button(F,text="Hello",command=printit).pack()
F.master.title("hello")
Entry(F,text='hello',name='zemic').pack()
Button(F, text="Quit", command=F.quit).pack()
top.mainloop()