Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

colorized progress bar python in console

import log21, time

# You can use some arguments to customize your progress bar
# For example, you can pass a dictionary as `colors` to customize
# progress bar colors
pb = log21.ProgressBar()
for i in range(500):
    pb(i + 1, 500)
    time.sleep(0.01)

# |█████████████████████████████████████████| 100%
    
Source by github.com #
 
PREVIOUS NEXT
Tagged: #colorized #progress #bar #python #console
ADD COMMENT
Topic
Name
3+8 =