Naranjito 2022. 4. 7. 11:25
  • tqdm

Te quiero demasiado. Instantly make your loops show a smart progress meter.

import time 

text=''
for char in tqdm(['a','b','c','d']):
    time.sleep(0.25) 
    text=text+char
    
>>>

100%|██████████| 4/4 [00:01<00:00,  3.96it/s]