def computeIntRange( start, finish, toInt=int, fromInt=str, fill=zFill, padLen=len ):
    """Computes a range list from a start value, finish value and optional
       int-to-string, string-to-int, pad functions and pad length."""
    n = padLen( start )
    return [ fill( fromInt(i), n ) for i in range(toInt(start),toInt(finish)+1) ]
Computes a range list from a start value, finish value and optional
       int-to-string, string-to-int, pad functions and pad length.
recipes/Python/355531_Simple_patternbased_string/recipe-355531.py