ffpb.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:ffpb 作者: althonos 项目源码 文件源码
def __init__(self):
        self.lines = []
        self.line_acc = []
        self.duration = None
        self.source = None
        self.started = False
        self.pbar = progressbar.ProgressBar(widgets=[
            lambda w, d: self.source, ' ',
            progressbar.AnimatedMarker(
                markers="—/|\\",
            ),
            progressbar.Bar(
                marker='?',
                fill='?',
                left=' ?',
                right='? ',
            ),
            progressbar.Percentage(
                '%(percentage)3d% % '
            ),
            progressbar.Timer(
                format='(%(elapsed)s / '
            ),
            AbsoluteTimeETA(
                format='%(eta)s)',
                format_finished='%(elapsed)s',
                format_not_started='--:--:--'
            ),
        ])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号