title: Printing on the same line on a jupyter notebook
body: <p>In python 3, we can easily print on the same line using the following script. I use this to understand the progress of my loop (how much time will be left). However, in jupyter it doesnt work (it prints on different lines)</p>
  
  <pre><code>import time
  for f in range(10):
      print(f, end='\r', flush=True)
      time.sleep(10)
  </code></pre>
  
  <p>It doesnt work to turn pretty print off %pprint, and I tried the same with sys.stdout.write() but also there I have this issue. </p>