标签:bsp range 进度 out 进度条 class bar pre tool
python实现最简单的进度条import sys,time total = 100 for i in range(total): a = "#" * i + " " * (100-i) + "["+str(i) + "%"+"]" sys.stdout.write("\r%s" %a) sys.stdout.flush() time.sleep(0.1)
标签:bsp range 进度 out 进度条 class bar pre tool
原文地址:http://blog.51cto.com/jiulingqiqi/2066697