from tkinter import * class Window(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.master = master self.pack(fill=BOTH, expand=1) text = Label(self, text="This is Label") text.place(x=70,y=90) #text.pack() root = Tk() app = Window(root) root.wm_title("Aimtocode") root.geometry("200x200") root.mainloop()