Tkinter.Text.quit

Text.quit()

Quit the Tcl interpreter. All widgets will be destroyed.