Im trying to make it so that when the user clicks a button, it becomes \"X\" or \"0\" (Depending on their team). How can I make it so that the text on the button is updated?
use myButtonObject["text"] = "Hello World"
python 3
from tkinter import *
btnMyButton = Button(text="Im Button", command=onClick)
btnMyButton["text"] = "Im not button"
python 2
import Tkinter as tk
btnMyButton = tk.Button(text="Im Button", command=onClick)
btnMyButton["text"] = "Im not button"