Tkinter User Input Response [duplicate]
Don't put parentheses on your command
argument. When you put the parentheses, your passing in the return value of trebleBass
(None
in this case) instead of the function itself.
Just put:
translate = Button(window, text="Translate", bg="black", fg="white", command=trebleBass)
Notice that the parentheses are gone at the end.