title: How to output above the last printed line?
body: <p>Is there a way in python to print something in the command line above the last line printed? Or, similarly to what I want to achieve, remain the last line intact, that is, not overwrite it.</p>
  <p>The goal of this is to let the last line in the command line a status/precentage bar.</p>
  <p>Output example:</p>
  <pre><code>File 1 processed
  (0.1% Completed)
  </code></pre>
  <p>Next refresh:</p>
  <pre><code>File 1 processed
  File 2 processed
  (0.2% Completed)
  </code></pre>
  <p>Next refresh:</p>
  <pre><code>File 1 processed
  File 2 processed
  File 3 processed
  (0.3% Completed)
  </code></pre>