title: Delete Characters in Python Printed Line
body: <p>I'm writing a program where I want the cursor to print letters on the same line, but then delete them as well, as if a person was typing, made a mistake, deleted back to the mistake, and kept typing from there.</p>
  
  <p>All I have so far is the ability to write them on the same line:</p>
  
  <pre><code>import sys, time
  write = sys.stdout.write
  
  for c in text:  
      write(c)
      time.sleep(.5)
  </code></pre>