def stripChars(str, reject=[], accept=[]):
    """Removes specified characters from a string
    
    Passed two lists (accept/reject) this method strip characters out of a string
    """
    if len(str) == 0 or (reject is None and accept is None): return str
    if accept is None: accept = list()
    if reject is None: reject = list()
    count, outstring = 0, ""
    while count < len(str):
        if str[count] in accept and not(str[count] in reject): outstring = outstring + str[count]
        count += 1
    return outstring
Removes specified characters from a string
    
    Passed two lists (accept/reject) this method strip characters out of a string
    
recipes/Python/285215_Package__Module_Versioning_Bootstrap_Loader_/recipe-285215.py