I would like to make several statements that give standard output without seeing newlines in between statements.
Specifically, suppose I have:
for it
Or even simpler:
import time a = 0 while True: print (a, end="\r") a += 1 time.sleep(0.1)
end="\r" will overwrite from the beginning [0:] of the first print.
end="\r"