Suppose I have the following Button made with Tkinter in Python:
Button
import Tkinter as Tk win = Tk.Toplevel() frame = Tk.Frame(master=win).grid(row=
button = Tk.Button(master=frame, text='press', command=lambda: action(someNumber))
I believe should fix this