Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 510 Bytes

File metadata and controls

25 lines (17 loc) · 510 Bytes

Progress Bar

Is a Python script wich can be used to show the progress about something in console.

Getting started

git clone https://github.com/eduardogpg/progress_bar_python.git

Usage

You only need import the module.

from progress_bar import print_progress_bar
from time import sleep

items = list(range(0, 100))

for i, item in enumerate(items):
    sleep(0.1)
    print_progress_bar(i, len(items), length=50, show_balance=True)
print_progress_bar(completed=True, length=50)