how to get what you have written in text widget in tkinter code example Example: text widget get tkinter contents = text.get(1.0, END)