title: Bash or Python, When print characters to terminal, how to CHANGE a character at a FIXED position?
body: <p>The thing I want to know here should be really 'basic', but it is a question in my mind for long time and no idea where the trick is. </p>
  
  <p>Let's say in a time-consuming program(either <code>bash</code> or <code>Python</code>), I have to print out the percentage of the progress when it's running, and basically I want to print <code>1%</code>, and after a certain time, I print <code>2%</code>, etc.. I want <code>'2%'</code> to be displayed exactly at the same position where <code>'1%'</code> was displayed, rather than they're like "1% 2%" or whatever. You know <code>wget</code>, what I want is exactly what wget does, to show the progress of the downloading progress. Do I need to clear the previously printed character, but how? </p>
  
  <p>How does it work basically...</p>
  
  <p>Thanks, </p>