摘要: # Author:Winter Liu is coming! import time def process_bar(num, total): rate_num = int(num*100/total) if rate_num == 100: r = "\r{}{}%\n".format("*"*r 阅读全文