Tkinter Geben Sie Taste 2 Befehle an
button = Button(root, text="test", command=lambda:[funct1(),funct2()])
Basss
button = Button(root, text="test", command=lambda:[funct1(),funct2()])
all_commands = lamba: [func1(), func2()]
button = Button(window, text="This is a button", command=all_commands)
#Define a command
yummy=0
def all_commands:
print("burgers")
yummy+=1
button = Button(window, text="Hello", command=all_commands)