(*args, **kwargs)
return tqdm(f(*args), **kwargs)
A shortcut for writing tqdm(range()) on py3 or tqdm(xrange()) on py2
A shortcut for writing tqdm(range()) on py3 or tqdm(xrange()) on py2
A shortcut for writing tqdm ( range () ) on py3 or tqdm ( xrange () ) on py2
def trange(*args, **kwargs):
    """A shortcut for writing tqdm(range()) on py3 or tqdm(xrange()) on py2"""
    try:
        f = xrange
    except NameError:
        f = range
    
    return tqdm(f(*args), **kwargs)
def trange ( * args , * * kwargs ) : try : f = xrange except NameError : f = range return tqdm ( f ( * args ) , * * kwargs )