Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tqdm description

from tqdm import tqdm
pbar = tqdm(["a", "b", "c", "d"])
num_vowels = 0
for ichar in pbar:
    if ichar in ['a','e','i','o','u']:
        num_vowels += 1
    pbar.set_postfix({'num_vowels': num_vowels})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #tqdm #description
ADD COMMENT
Topic
Name
2+5 =