Python_进度条

progerss bar with '>'
1 # -*- coding:utf-8 -*-
2 # Author:Soap
3 
4 import sys,time
5 
6 for i in range(20):
7     sys.stdout.write('>')
8     sys.stdout.flush()
9     time.sleep(0.5)

 

posted @ 2018-03-08 14:44  soapoldaddy  阅读(79)  评论(0)    收藏  举报