I'm trying to searching and replacing some text with odfdo in python. But I can't figure out how to do it. I'm trided with this code bellow, and it give some text. doc = Document("test_01.odt") k = doc.get_formatted_text() print(k) But i can't select the text when i use "if" k = doc.get_formatted_text() print(k) if k == "replace": print(k) else: pass Continue reading...