def get_path()

in emoclassifiers/io_utils.py [0:0]


def get_path(rel_path: str) -> str:
    """
    Get the path to a file in the project.
    """
    base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    return os.path.join(base_path, rel_path)