[python 2.7] how do I change text of tkinter button widget
I am writing a basic calculator app and want to change the text of the clear button from "C" when there are numbers in the display, to "AC" when there are no numbers (technically when the display is 0) in the display.
How do I change the text of the button with click events from the C/AC button and other number buttons as well?
Submitted November 30, 2015 at 06:18PM by heisenberger
via reddit http://ift.tt/1lqNxEj