Getting Traceback And Attributeerror: 'nonetype' Object Has No Attribute 'get'
So I am trying to make a simple calculator program using Tkinter and python. I have some general code down for addition and subtraction but am getting this error. Please advise,
Solution 1:
entry = Entry(root).grid()
entry
is None
here, because grid
doesn't return anything. Perhaps you meant to do:
entry = Entry(root)
entry.grid()
Post a Comment for "Getting Traceback And Attributeerror: 'nonetype' Object Has No Attribute 'get'"