(path_or_paths)
Interpret given paths relative to the current script directory.

    If 'path_or_paths' is a single string, the resolved path is
    returned as a string as well. Otherwise, it is interpreted as an
    iterable and a set is returned.

    Absolute paths will be returned as they are.
Interpret given paths relative to the current script directory.
Interpret given paths relative to the current script directory .
def resolve(path_or_paths):
    """Interpret given paths relative to the current script directory.

    If 'path_or_paths' is a single string, the resolved path is
    returned as a string as well. Otherwise, it is interpreted as an
    iterable and a set is returned.

    Absolute paths will be returned as they are.
    """
    if isinstance(path_or_paths, misc.Marked):
        return path_or_paths
    elif isinstance(path_or_paths, str):
        return misc.Marked(normpath(relpath(
            join(directories[-1], path_or_paths))))
    else:
        return list(map(resolve, path_or_paths))
def resolve ( path_or_paths ) : if isinstance ( path_or_paths , misc . Marked ) : return path_or_paths elif isinstance ( path_or_paths , str ) : return misc . Marked ( normpath ( relpath ( join ( directories [ - 1 ] , path_or_paths ) ) ) ) else : return list ( map ( resolve , path_or_paths ) )