mirror of
https://github.com/balkian/balkian.github.com.git
synced 2025-02-18 15:55:10 +00:00
21 lines
453 B
Markdown
21 lines
453 B
Markdown
|
---
|
||
|
title: Progress bars in python
|
||
|
date: 2016-09-28 18:47:00
|
||
|
tags:
|
||
|
- python
|
||
|
---
|
||
|
|
||
|
[tqdm](https://github.com/noamraph/tqdm) is a nice way to add progress
|
||
|
bars in the command line or in a jupyter notebook.
|
||
|
|
||
|

|
||
|
|
||
|
|
||
|
```python
|
||
|
from tqdm import tqdm
|
||
|
import time
|
||
|
|
||
|
for i in tqdm(range(100)):
|
||
|
time.sleep(1)
|
||
|
```
|