In the code below, clicking the button should change the black text from Hello to Goodbye. But when I run the program, it immediately says Goodbye.
For future reference:
If you want to send parameters to the function, simply add lambda:
lambda:
Example for a button with the command callback():
callback()
yourButton = Tkinter.Button(root, text="Go!", command= lambda: callback(variableOne, variableTwo, variableThree)).pack()