I would like to display a count in the Console such that each increment is replaced in the same place (at start of line) by the next.
Having looked at posts on overwriting the last line, I thought this should work ok, but it adds each increment to the last line instead of replacing it
Python Code:
import time
for i in range (15):
time.sleep(1)
print(i, end=“\r”)
result is:
1234567891011121314
note also that when it gets to 6 there is a long gap to 7:
123456 7
What am I doing wrong?
Many thanks
Astrikor