title: How can I use stdout.write in python 2.7 to display multiple lines at the same time?
body: <p>I have a question regarding the python programming, let's say i have a loop, so within the loop, i want to stdout.write 3 variables in different lines.
  For example:</p>
  
  <pre><code>while (True):
      a += 0
      b += 5
      c += 10
      sys.stdout.write("\routput1 = %d" % a)
      sys.stdout.write("\routput2 = %d" % b)
      sys.stdout.write("\routput3 = %d" % c)
  </code></pre>
  
  <p>So in the terminal should be like:</p>
  
  <pre><code>output1 = .........
  output2 = .........
  output3 = .........
  </code></pre>
  
  <p>Each output just remain in their lines and keep refreshing. Thank you!</p>