Skip to content

eta repeatedly prints on newline above progressbar #116

@ghost

Description

Description

The eta is repeatedly printed above the progress bar.

screen shot 2017-05-25 at 5 05 46 pm

Code

import progressbar
from time import sleep

widgets = [
          'Test: ', progressbar.Percentage(),
          ' ', progressbar.Bar(),
          ' ', progressbar.ETA(),
          ' ', progressbar.FileTransferSpeed(),
      ]
bar = progressbar.ProgressBar(widgets=widgets, max_value=1000).start()
for i in range(100):
    # do something
    bar.update(10 * i + 1)
    sleep(1)
bar.finish()

Versions

  • Python version: 2.7.13
  • Python distribution/environment: Anaconda
  • Operating System: El Capitan
  • Package version: 3.20.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions