Getting the computer to press a button Getting the computer to press a button tkinter tkinter

Getting the computer to press a button


Try using:

computer_move.invoke()

it has the same effect as clicking on the button it should work in your case. It calls the function. You can call it after you have moved and it will call computer_move for you. Happy coding!