def get_data_file(pkg, path):
 return io.BytesIO(pkgutil.get_data(pkg, path))

def get_data_file ( pkg , path ) : return io . BytesIO ( pkgutil . get_data ( pkg , path ) )
returns a file object for a package data file .