示例#1
0
文件: request.py 项目: smaty1/ab
class RequstPressBar(object):
    def __init__(self, num=1):
        self._process_bar = AnimatedProgressBar(end=num, width=65)

    def incr(self):
        self._process_bar + 1
        self._process_bar.show_progress()
示例#2
0
文件: request.py 项目: smaty1/ab
 def __init__(self, num=1):
     self._process_bar = AnimatedProgressBar(end=num, width=65)