def pltostr(path):
    """
    convert Pathlib object to absolute path as string

    Args:
        path (Path object): Pathobject to convert
    """
    if isinstance(path, str):
        return path
    return str(path.absolute())