From 1738461e6c70f31ae3d86de915ce1a585bd8d4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= <sornjure@gmail.com> Date: Sat, 29 Dec 2018 17:40:17 +0100 Subject: [PATCH] Moved progress bar --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index fadc74f..f1dcbd2 100644 --- a/README.md +++ b/README.md @@ -1204,6 +1204,19 @@ pyplot.savefig(<filename>, transparent=True) ``` +Progress Bar +------------ +```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) +``` + + Table ----- #### Prints CSV file as ASCII table: @@ -1464,19 +1477,6 @@ def tracer(func): ``` -Progress Bar ------------- -```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 --------------------- ```python