am trying to give functionality to calculator buttons.that is, when i click the button like button with label 7, the letter 7 should appear in an entry.
how can i asssign a buttons label to an entry in python when the button is clicked?
Collapse
X
-
Tags: None
-
See the first example at http://effbot.org/tkinterbook/button.htm which shows how to connect a function to a button click. Instead of a print, you would (sometimes delete first and) insert into the Entry like the first example at http://effbot.org/tkinterbook/entry.htmComment
Comment