change text in Text tkinter code example
Example: tkinter set text
def set_input(value):
text.delete(1.0, "END")
text.insert("END", value)
def set_input(value):
text.delete(1.0, "END")
text.insert("END", value)