标签:
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()
[python]倒计时实现
原文地址:http://www.cnblogs.com/ttbelieve/p/4422390.html