import Tkinterroot = Tkinter.Tk()var = Tkinter.StringVar()entry = Tkinter.Entry(root, textvariable=var)entry.focus_set()entry.pack()var.set(root.title())def changeTitle(): root.title(var.get())Tkinter.Button(root, text="Iconify", command=root.iconify).pack()Tkinter.mainloop()
Name (required)
email (will not be published) (required)
Website