May-29-2021, 10:21 AM
(This post was last modified: May-29-2021, 01:01 PM by Yoriz.
Edit Reason: Added prefix
)
Hello,
I am trying to learn python class programming and I have run into an exception when trying to run a small program I found on the internet. It has me confused as I see people using the line of code with no problem
I am trying to learn python class programming and I have run into an exception when trying to run a small program I found on the internet. It has me confused as I see people using the line of code with no problem
Error:builtins.TypeError: Buttons() takes no arguments
the snippit of code I am referring to isif __name__ == '__main__': root = tk.Tk() b = Buttons(root) root.mainloop()can anybody explain why I getting this exception?