Remove relative path symobls such as '..'

    Args:
        path (str): A target path string
        sep (str): A strint to refer path delimiter (Default: `os.sep`)
        pardir (str): A string to refer parent directory (Default: `os.pardir`)

    Returns:
        str

def remove_pardir_symbols(path, sep=os.sep, pardir=os.pardir):
    """
    Remove relative path symobls such as '..'

    Args:
        path (str): A target path string
        sep (str): A strint to refer path delimiter (Default: `os.sep`)
        pardir (str): A string to refer parent directory (Default: `os.pardir`)

    Returns:
        str
    """
    bits = path.split(sep)
    bits = (x for x in bits if x != pardir)
    return sep.join(bits)