I am trying to get input through tkinter text widget. I saw posts about tkinter text widget input. But those didn't work for me. I saw post on and tried that but I couldn't understand what is wrong with it. Here is my code.
`corpusinput = Text(rooter, width=50, height=10)
corpustext = corpusinput.get("1.0", "end-1c")
corpusinput.grid(row=2, column=1, sticky='nsew')
print(corpustext)`
This prints a blank space/line without any character.