I'm sorry to attach the picture.
I made a calculator using tkinter
Run and enter a value.
AttributeError: 'NoneType' object has no attribute 'configure'
An error appears. I think there is a problem with .configure in the function, but I don't know how to solve the problem.
python tkinter
The pack function, a common method of tkinter widget, simply makes the widget visible and does not have a return value (Python returns None if there is no result of the function).)
Create individual variables instead of writing the tkinter widget inline.
© 2024 OneMinuteCode. All rights reserved.