pantonante
10/18/2017 - 9:45 AM

Progress bar (tqdm)

Progress bar in Python loops. Also displays ETA estimation.

import time
from tqdm import *

print("Progress bar example!")
with tqdm(total=100, unit="iter") as pbar:
	for i in range(100):
		time.sleep(0.3)
		pbar.update()
print("End")