title: Python command line print on the same lines
body: <p>There are many questions relating to printing on the same line but there aren't any for printing multiple lines on the same line within the terminal.</p>
  
  <p>For example:</p>
  
  <pre><code>ogeno@OH-ogeno-MBP:~|⇒ python my_script.py
  Process 1: 5%
  Process 2: 14%
  Process 3: 55%
  </code></pre>
  
  <p>I want the progress of these processes to update on the same line rather than printing over and over again. I have looked at other questions that say to use the return carriage character <code>\r</code> and <code>sys.stdout.flush()</code> but it doesn't seem to change the caret to go up a line, just to the end of the  current line.</p>
  
  <p>EDIT: My question is different because it's to do with printing MULTIPLE lines on the same lines in the terminal. It's easy if it's just one line.</p>