for num in range(5,0,-1):
time.sleep(1)
sys.stdout.flush()
sys.stdout.write('\rPlease Wait: '+str(num)+'s \r')
sys.stdout.flush()
转载于:https://www.cnblogs.com/ttbelieve/p/4422390.html
for num in range(5,0,-1):
time.sleep(1)
sys.stdout.flush()
sys.stdout.write('\rPlease Wait: '+str(num)+'s \r')
sys.stdout.flush()
转载于:https://www.cnblogs.com/ttbelieve/p/4422390.html