Answers for "python make button do more than one command"

1

python make button do more than one command

# Make a button do more than one command
def funct1():
  print("function 1")

def funct2():
  print("function 2")

Button(root, text=" test", command=lambda:[funct1(),funct2()])
Posted by: Guest on May-02-2021

Code answers related to "python make button do more than one command"

Python Answers by Framework

Browse Popular Code Answers by Language