(it, label='', hide=False)
Progress iterator. Prints a dot for each item being iterated
Progress iterator. Prints a dot for each item being iterated
Progress iterator . Prints a dot for each item being iterated
def dots(it, label='', hide=False):
    """Progress iterator. Prints a dot for each item being iterated"""

    count = 0

    if not hide:
        STREAM.write(label)

    for item in it:
        if not hide:
            STREAM.write(DOTS_CHAR)
            sys.stderr.flush()

        count += 1

        yield item

    STREAM.write('\n')
    STREAM.flush()
def dots ( it , label = '' , hide = False ) : count = 0 if not hide : STREAM . write ( label ) for item in it : if not hide : STREAM . write ( DOTS_CHAR ) sys . stderr . flush ( ) count += 1 yield item STREAM . write ( '\n' ) STREAM . flush ( )