Browse Source

Moved tqdm to top

pull/3/head
Jure Šorn 6 years ago
parent
commit
345a3fba35
1 changed files with 11 additions and 11 deletions
  1. 22
      README.md

22
README.md

@ -1295,6 +1295,17 @@ def get_filename():
Progress Bar
------------
### Tqdm
```python
# $ pip3 install tqdm
from tqdm import tqdm
from time import sleep
for i in tqdm(range(100)):
sleep(0.02)
for i in tqdm([1, 2, 3]):
sleep(0.2)
```
### Basic
```python
import sys
@ -1339,17 +1350,6 @@ for el in Bar.foreach([1, 2, 3]):
sleep(0.2)
```
### Tqdm
```python
# $ pip3 install tqdm
from tqdm import tqdm
from time import sleep
for i in tqdm(range(100)):
sleep(0.02)
for i in tqdm([1, 2, 3]):
sleep(0.2)
```
Basic Script Template
---------------------

Loading…
Cancel
Save