title: Print Text 'Loading' with dots going forward and backward in python shell
body: <p>I want to print Text 'Loading...' But its dots would be moving back and forward (in <strong>shell</strong>). </p>
  
  <p>I am creating a text game and for that it will look better.<br>
  I know writing slowly a word but dots also have to go back.  </p>
  
  <p>I am thinking that I should forget dots to come back.And for that:  </p>
  
  <pre><code>import sys
  import time
  shell = sys.stdout.shell
  shell.write('Loading',"stdout")
  str = '........'
  for letter in str:
      sys.stdout.write(letter)
      time.sleep(0.1)
  </code></pre>
  
  <p>What do you think?<br>
  If you have that dots would be moving back and forward Then please share with me.<br>
  If you want more information I am ready to Provide to you.<br>
  Thanks</p>