ansi_escape/examples/backspace.py

7 lines
148 B
Python
Raw Normal View History

2021-03-12 21:33:18 +00:00
import ansi_escape, sys, time
print("Hello World!!", end='')
time.sleep(1)
a = 0
while a < 5:
a += 1
sys.stdout.write(ansi_escape.backspace)