title: Search and replace text ODFDO
body: <p>I'm trying to searching and replacing some text with odfdo in python. But I can't figure out how to do it.</p>
  <p>I'm trided with this code bellow, and it give some text.</p>
  <pre><code>doc = Document(&quot;test_01.odt&quot;)
  k = doc.get_formatted_text()
  print(k)
  </code></pre>
  <p>But i can't select the text when i use &quot;if&quot;</p>
  <pre><code>k = doc.get_formatted_text()
  print(k)
  
  if k == &quot;replace&quot;:
      print(k)
  else:
      pass
  </code></pre>