def ranges_to_list(range_str, range_sep=',', slice_sep=':'):
    """
    Get a list of integers represented by input ranges-str

    Parameters
    ----------
    range_str : str
        A ranges_string, with ranges delimited by ',' and slice char ':'
    range_sep : str default ','
        A range seperator string
    slice_sep : str default ':'
        A slice seperator string, range with only number `x` will be treated 
        as singleton integer memeber (not a 0..x range)

    Returns
    -------
    list[int]
        A list of integer-members of specified ranges-string

    """
    rngs = range_str.split(range_sep)
    res = []
    for r in rngs:
        slice_e = r.split(slice_sep)
        if len(slice_e) > 1:
            rng = [int(i.strip()) for i in slice_e]
            res.extend(range(*rng))
        elif len(slice_e) == 1:
            s = int(slice_e[0].strip())
            res.append(s)
    return(res)