ansi_escape/examples/backspace.py

7 lines
148 B
Python

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)