python, tkinter: text is pasted twice from clipboard - why? python, tkinter: text is pasted twice from clipboard - why? tkinter tkinter

python, tkinter: text is pasted twice from clipboard - why?


It's because ctrl-c and ctrl-v is already implemented.

So when you do ctrl-v, it pastes once for already implemented one and once for your method. Just remove binding overall or if you want to do something on ctrl-v, then remove insert in your method.