在print里面加上\r

 

小例子

import time
print('\r12312',end="")
time.sleep(2)
print('\r####',end="")