Skip to content

Commit 345a3fb

Browse files
committed
Moved tqdm to top
1 parent a662789 commit 345a3fb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,17 @@ def get_filename():
12951295

12961296
Progress Bar
12971297
------------
1298+
### Tqdm
1299+
```python
1300+
# $ pip3 install tqdm
1301+
from tqdm import tqdm
1302+
from time import sleep
1303+
for i in tqdm(range(100)):
1304+
sleep(0.02)
1305+
for i in tqdm([1, 2, 3]):
1306+
sleep(0.2)
1307+
```
1308+
12981309
### Basic
12991310
```python
13001311
import sys
@@ -1339,17 +1350,6 @@ for el in Bar.foreach([1, 2, 3]):
13391350
sleep(0.2)
13401351
```
13411352

1342-
### Tqdm
1343-
```python
1344-
# $ pip3 install tqdm
1345-
from tqdm import tqdm
1346-
from time import sleep
1347-
for i in tqdm(range(100)):
1348-
sleep(0.02)
1349-
for i in tqdm([1, 2, 3]):
1350-
sleep(0.2)
1351-
```
1352-
13531353

13541354
Basic Script Template
13551355
---------------------

0 commit comments

Comments
 (0)