Created
March 9, 2024 17:29
-
-
Save rubenhortas/86fa57910de4c5aee09b9c51f110afb8 to your computer and use it in GitHub Desktop.
Implement a progress bar in python using using tqdm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Implement a progress bar using using tqdm. | |
""" | |
from tqdm import tqdm | |
from time import sleep | |
if __name__ == '__main__': | |
data = list(range(100)) | |
for i in tqdm(data): | |
sleep(0.1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment