Reference:
How to pass arguments to a Button command in Tkinter?
button = Tk.Button(master=frame, text='press', command= lambda: action(someNumber))
button = Tk.Button(master=frame, text='press', command= lambda: action(someNumber))