# Author: Allenlee
import sys,time
for i in range(50):
sys.stdout.write("#")
sys.stdout.flush() #与文件的flush是类似的
time.sleep(0.1)
Python学习记录W3-06:进度条(flush)
最新推荐文章于 2024-03-13 15:41:27 发布
# Author: Allenlee
import sys,time
for i in range(50):
sys.stdout.write("#")
sys.stdout.flush() #与文件的flush是类似的
time.sleep(0.1)