#!/usr/bin/env python import os def get_sample(filename): fullpath = os.path.join("@LIEF_SAMPLES_DIRECTORY@", filename) assert os.path.exists(fullpath) assert os.path.isfile(fullpath) return fullpath