def split(path): filename7 = Vips.path_filename7(path) mode7 = Vips.path_mode7(path) return [filename7, mode7]