def get_absolute_path(path):
    """
    Get the absolute path.

    :param pathlib.Path path: Path object
    :return: Absolute path
    :rtype: pathlib.Path

    """
    return path.expanduser().resolve()