how to get the value of a text i a text widget tkinter code example Example: text widget get tkinter contents = text.get(1.0, END)