python write text on same line with terminal code example
Example: python overwrite print on same line
import time
for j in range(1,5):
print('waiting : '+j, end='\r')
time.sleep(1)
import time
for j in range(1,5):
print('waiting : '+j, end='\r')
time.sleep(1)