摘要: https://www.bugbank.cn/q/article/5983de41cbb936102d397781.html 阅读全文
posted @ 2019-03-25 13:11 p0pl4r 阅读(133) 评论(0) 推荐(0)
摘要: import sys import time def view_bar(num,total): rate = num / total rate_num = int(rate * 100) r = '\r%d%%%s>' % (rate_num,'='*num) sys.stdout.write(r) 阅读全文
posted @ 2019-03-25 12:47 p0pl4r 阅读(114) 评论(0) 推荐(0)