def get_resource(filename): import pkg_resources, os return pkg_resources.resource_filename("premiere", os.path.join("data", filename))