Пример #1
0
def display_progress_bar(sync_object):
    ProgressBar(
        total=sync_object.total_size,
        leave=False,
        ncols=80,
        unit="B",
        unit_scale=True,
        mininterval=0.2,
    )
Пример #2
0
def hide_progress_bar(sync_object):
    ProgressBar.close()
Пример #3
0
def update_progress_bar(value):
    ProgressBar.update(value)