- changed status to on hold
Implement support of tqdm package
Issue #175
on hold
The tqdm · PyPI package makes a smart progress meter output in the command line. Whould be cool to support this kind of output.
from tqdm import tqdm
for i in tqdm(range(10000)):
...
76%|████████████████████████ | 7568/10000 [00:33<00:10, 229.00it/s]
Now, each increment is written in a new line:
for i in tqdm(range(100000000),desc="Looping through the loop"):
pass
Looping through the loop: 0%| | 0/100000000 [00:00<?, ?it/s]
Looping through the loop: 0%| | 431084/100000000 [00:00<00:23, 4302053.94it/s]
Looping through the loop: 1%|1 | 1044657/100000000 [00:00<00:18, 5365258.36it/s]
Looping through the loop: 2%|1 | 1657539/100000000 [00:00<00:17, 5698153.08it/s]
Looping through the loop: 2%|2 | 2312023/100000000 [00:00<00:16, 6010961.48it/s]
Comments (1)
-
reporter - Log in to comment