flush progess bar

import sys,time

for i in range(50):
sys.stdout.write("#")
sys.stdout.flush()# flash the data from memory
time.sleep(0.1)
posted @ 2020-05-08 20:50  Carol7258  阅读(113)  评论(0)    收藏  举报