place_configure() missing 1 required positional argument: 'self' place_configure() missing 1 required positional argument: 'self' tkinter tkinter

place_configure() missing 1 required positional argument: 'self'


You are not supposed to call place on a class (Label). If You want to do it this way, You must assign Label instance to some variable and then call place on that variable. It works in first case because You are calling place on class instance, rather than class itself.Example how it should be done:

label_name = Label(frame,text="hello", height=1, width=14, bg="white")label_name.place(x=10, y=10)