Я пытаюсь сделать игру, используя Tkinter, и пытаюсь убрать кнопки.
Код, который я использую:
from tkinter import *
from random import *
def ct():
textA.destroy()
tAb.destroy()
window = Tk()
textA = Text(window, width = 15, height = 1)
textA.insert(END, 'Choose a type.')
textA.config(state="disabled")
tAb = Button(window, text = 'filler', command = ct)
Я не Я тоже не хочу менять это.