title: How to find and replace all tabs with spaces in idle
body: <p>I have an invisible <code>expected an indented block</code> error, which is likely caused by me using tabs instead of spaces.</p>
  
  <p>When I open the "find/replace" window and try to enter <kbd>TAB</kbd> in the <code>find</code> field IDLE unsurprisingly just skips to the <code>replace</code> field. </p>
  
  <p>How do I do this?</p>
  
  <hr>
  
  <p><strong>Final update:</strong></p>
  
  <p>Thank you for all answers, much appreciated. My problem was that python wants the function comments to be indented too, that is </p>
  
  <pre><code>def imdheladumb():
  """
  I'm dum as hel
  """
  </code></pre>
  
  <p>does not work, it needs to be</p>
  
  <pre><code>def imdheladumb():
      """
      I'm dum as hel
      """
  </code></pre>