I am binding a normal key do run a function using Tkinter, like this:
from tkinter import *
root = Tk()
T = Text()
T.pack()
root.bind_all('h', lambda event: print('HI'))
When you press the h key, it prints HI, but also it types an h into the text box. Is there any easy way to block the h key from doing its normal purpose?