摘要: 1 import sys 2 import time 3 total_size=10212 4 recv_size=0 5 def progress(percent,width=50): 6 if percent > 1: #如果百分比大于1的话则取1 7 percent=1 8 show_str=('[%%-%ds]' %width) %(int... 阅读全文
posted @ 2017-11-11 21:42 wangmo 阅读(1871) 评论(0) 推荐(0)