from pathlib import Path


def static_path(*parts):
    """
    Return the path to a file relative to the configured data folder
    :param parts: path segments
    :return: complete path
    """
    return Path(__file__).parent.joinpath('static', *parts)