Tk has no attribute “button”. – error when creating button in tkinter window in python 3.12
I just started trying to make a calculator on python using tkinter, and I successfully created the tkinter window using window = Tk()
. Then I started trying to make buttons, and then THIS happened:
so I go to change it from tk.button
to Tk.button
, and then I get THIS:.
Tk has no attribute “button”. – error when creating button in tkinter window in python 3.12
I just started trying to make a calculator on python using tkinter, and I successfully created the tkinter window using window = Tk()
. Then I started trying to make buttons, and then THIS happened:
so I go to change it from tk.button
to Tk.button
, and then I get THIS:.
Tk has no attribute “button”. – error when creating button in tkinter window in python 3.12
I just started trying to make a calculator on python using tkinter, and I successfully created the tkinter window using window = Tk()
. Then I started trying to make buttons, and then THIS happened:
so I go to change it from tk.button
to Tk.button
, and then I get THIS:.