title: Is there a way to remove prevous prints?
body: <p>So i am currently trying to make something that will print <code>.</code> and remove it then print <code>..</code>
  and also remove it then print <code>...</code> When i tried using sys module to remove the prevous text this was the output: <code>lol [Ktest</code> so it basically adds a <code>[K</code> to the next line.
  I also tried using another method so instead of removing the prevous text it would just add onto it like:</p>
  <pre><code>import time
  print(&quot;lol&quot;,end=&quot;&quot;)
  time.sleep(1)
  print(&quot;test&quot;)
  </code></pre>
  <p>it did work in IDLE but when i tried to use it by opening the file in the command promt it waited for 1 second and then just gave <code>loltest</code> without any delay between them. So nothing i found in the internet worked for me.</p>