标签:time pytho out 进度条 打印 blog std pre logs
import sys import time for i in range(100): sys.stdout.write("\r") sys.stdout.write("%s | %s%%" % (i * "#", i)) sys.stdout.flush() time.sleep(0.3)
标签:time pytho out 进度条 打印 blog std pre logs
原文地址:http://www.cnblogs.com/wqyu/p/6623910.html