I have the following code by it isn\'t working any ideas?
This parameter will not accept two functions. The best way for you to solve this is to create a function that performs all other functions.
def main_menu():
pass
def apending_to_text_file():
pass
def commands():
main_menu()
apending_to_text_file()
login_button = Button(
root, text="Click here to enter data",
command=commands
)