tkinter button two commands code example
Example 1: tkinter give button 2 commands
button = Button(root, text="test", command=lambda:[funct1(),funct2()])
Example 2: how to add multiple commands to tkinter button
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)