def doKey(e):
print(e.widget.get("1.0","end"))
root= Tk()
root.title('yada')
txta = Text(root, width=40, height=10)
txta.bind("<Key>", doKey)
txta.pack(side=LEFT)
root.mainloop()
Pressing a key in this text area will always output the string prior to your pressing the key. Am I missing something?