self.button1 = Button(root, text = '1', \
command = self.buttonAction)
self.button1.grid(row = 1, column = 0)
self.button2 = Button(root, text = '2', \
command = self.buttonAction)
def buttonAction(self):
if self.button1 is clicked/pressed... :
value = 1
how do i express the word in red in python code?!!??
thanks :D