Übergeben Sie Argumente in Taste tkinter
button = Tk.Button(master=frame, text='press', command= lambda: action(someNumber))
someone...
button = Tk.Button(master=frame, text='press', command= lambda: action(someNumber))