Difference between revisions of "Progress bar"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) (Created page with "== Python ==") |
Rafahsolis (talk | contribs) m Tag: visualeditor |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | == Python == | + | ==Python== |
| + | <syntaxhighlight lang="bash"> | ||
| + | pip install tqdm | ||
| + | </syntaxhighlight><syntaxhighlight lang="python3"> | ||
| + | from tqdm import tqdm | ||
| + | from time import sleep | ||
| + | |||
| + | |||
| + | for i in tqdm(list(range(100))): | ||
| + | time.sleep(0.3) | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | === Jupyter with virtualenviroments === | ||
| + | https://ipywidgets.readthedocs.io/en/stable/user_install.html | ||
| + | [[Category:Python]] | ||
Latest revision as of 10:10, 16 May 2019
Python[edit]
pip install tqdm
from tqdm import tqdm
from time import sleep
for i in tqdm(list(range(100))):
time.sleep(0.3)
Jupyter with virtualenviroments[edit]
https://ipywidgets.readthedocs.io/en/stable/user_install.html