17.2. Pathlib Path
Path.absolute()- Get the absolute pathPath.resolve()- Get the absolute pathPath.relative_to(other)- Get the relative path to another pathPath.match(pattern)- Check if the path matches a patternPath.is_absolute()- Check if the path is absolutePath.is_relative_to(other)- Check if the path is relative to another pathJoining paths with the / operator
Path.glob()- Find files matching a patternPath.rglob()- Recursively find files matching a pattern