I was wondering if there's a way to replace all instances of a specific word in the Tkinter Text widget.
E.g.
Pretend this is my text widget:
Hello how are you? How is the weather?
I want to press a button and replace all instances of the word 'how' with the word 'python'
Hello python are you? python is the weather?
I'll probably need to use the search() function, but I wasn't sure what to do from there.
Thanks for your help :)