from tkinter import * root = Tk() l1 = Label(root, text="Main Window Label") l1.pack() top = Toplevel() l2 = Label(top, text="Toplevel Window Label") l2.pack() top.mainloop() root.mainloop()