python tkinter multiple commands on button click code example
Example 1: multiple functions tkinter
command=lambda:[funcA(), funcB(), funcC()]
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)