#coding=utf-8 import sys import time import thread import httplib, urllib import random import ...
in case it stops and is restarted, you end up skipping all those already done items very quickly, which makes thealive_barthink you're processing thousands of items per second, which in turn completely ruins the ETA... But not anymore!
I used this for my custom logging module: import tqdm import time import contextlib from debug_tools import getLogger log = getLogger() class DummyTqdmFile(object): """ Dummy file-like that will write to tqdm https://github.com/tqdm/tqdm/issues/313 """ file = None def __init__(self...