Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

progress bar python text

from tqdm import trange
from time import sleep
t = trange(100, desc='Bar desc', leave=True)
for i in t:
    t.set_description("Bar desc (file %i)" % i) # add dynamic bar description
    t.refresh() # to show immediately the update
    sleep(0.01)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #progress #bar #python #text
ADD COMMENT
Topic
Name
2+1 =