I want to print Text 'Loading...' But its dots would be moving back and forward (in shell).
I am creating a text game and for that it will look better.
I know writing slowly a word but dots also have to go back.
I am thinking that I should forget dots to come back.And for that:
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)
What do you think?
If you have that dots would be moving back and forward Then please share with me.
If you want more information I am ready to Provide to you.
Thanks