Skip to content

Instantly share code, notes, and snippets.

@NakanishiTetsuhiro
Created December 8, 2016 06:56
Show Gist options
  • Select an option

  • Save NakanishiTetsuhiro/a108bf4fd9e5772cb3d01153b992404f to your computer and use it in GitHub Desktop.

Select an option

Save NakanishiTetsuhiro/a108bf4fd9e5772cb3d01153b992404f to your computer and use it in GitHub Desktop.
from progressbar import *
import time
widgets = ["Test: ", Percentage(), Bar()]
maxval = 1000
pbar = ProgressBar(maxval=maxval, widgets=widgets).start()
for i in range(maxval):
time.sleep(0.001)
pbar.update(pbar.currval + 1)
pass
pbar.finish()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment