From c7a1caececd432aa3d32949ef4baec265b75fffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Wed, 28 Sep 2016 20:30:15 +0200 Subject: [PATCH] tqdm --- content/2016-09-28-tqdm.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 content/2016-09-28-tqdm.rst diff --git a/content/2016-09-28-tqdm.rst b/content/2016-09-28-tqdm.rst new file mode 100644 index 0000000..0d1ff54 --- /dev/null +++ b/content/2016-09-28-tqdm.rst @@ -0,0 +1,17 @@ +Progress bars in python +======================= +:date: 2016-09-28 18:47:00 +:tags: python + + +`tqdm `_ is a nice way to add progress bars in the command line or in a jupyter notebook. + +.. image:: https://camo.githubusercontent.com/48838faaa8d00ea297f18e5bf55d3c6bb4e0ba6b/68747470733a2f2f692e696d6775722e636f6d2f686539417735432e676966 + +.. code-block:: python + + from tqdm import tqdm + import time + + for i in tqdm(range(100)): + time.sleep(1)