Skip to content

TrayserCassa/progressbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ProgressBar

Small Progressbar in Python.

def example():
    import time

    bar = Progressbar()
    for i in range(0, 100):
        time.sleep(0.02)
        bar.update()

    bar.step_to(0)
    time.sleep(2)

    bar.step_to(40)
    time.sleep(2)

    bar.set_message('This is a message')
    time.sleep(3)
    bar.set_message('New Message arrived')
    time.sleep(3)

    bar.step_to(80)
    time.sleep(4)

    bar.step_to(100)

About

Small one file progressbar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages