DEV Community

professor_2390
professor_2390

Posted on

Make a progress bar in terminal using python

Alt Text

Requirements

  1. Latest version of python
  2. tqdm module in python
    pip install tqdm
  3. Ide/Code Editor (vscode) ## Code
  4. make a python file and open it 2.import tqdm and time
    import time
    from tqdm import tqdm
  5. make a loop
    for i in tqdm([0, 25, 50, 75, 100]):
  6. put sleep in the loop
    time.sleep(0.5)

Done

Take care bye

Top comments (0)