from tkinter import * master = Tk() master.title('softhunt.net') top = Toplevel() top.title('Tkinter Python') top.mainloop()