from Tkinter import * root = Tk() win = Toplevel(root) Label(win, text= "Hello Python World" ).pack(side=TOP) Button(win, text="Close", command=win.quit).pack(side=RIGHT) win.mainloop()