So, I am trying to work on implementing a find_and_replace option for my tkinter text editor. I've set up how my program finds the text within the program and that works perfectly, my only problem is that I am using a variable to locate where the exact word is.
text.delete(1.other_other, 1.(other_other+other))
The 1 represents the line number, but whenever I run the program it always tells me I have a syntax error just before the comma. Any ideas are helpful.
Thanks :)