title: How do I write output in same place on the console?
body: <p>I am new to python and am writing some scripts to automate downloading files from FTP servers, etc. I want to show the progress of the download, but I want it to stay in the same position, such as:</p>
  
  <p>output:</p>
  
  <blockquote>
    <p>Downloading File FooFile.txt [47%]</p>
  </blockquote>
  
  <p>I'm trying to avoid something like this:</p>
  
  <pre><code>     Downloading File FooFile.txt [47%]
       Downloading File FooFile.txt [48%]
       Downloading File FooFile.txt [49%]
  </code></pre>
  
  <p>How should I go about doing this?</p>
  
  <hr>
  
  <p><strong>Duplicate</strong>:  <a href="https://stackoverflow.com/questions/465348/how-can-i-print-over-the-current-line-in-a-command-line-application/465360#465360">How can I print over the current line in a command line application?</a></p>