Python écraser l'impression sur la même ligne
import time
for j in range(1,5):
print('waiting : '+j, end='\r')
time.sleep(1)
Veneno
import time
for j in range(1,5):
print('waiting : '+j, end='\r')
time.sleep(1)
# in order to make the line in a print statement
#in your python terminal rewrite on the same line
print('hello', end='\r')
#just like the command \n makes a new line \r restarts that line.