from vipsCC import * a = VImage.VImage("/home/john/pics/shark.jpg") print a.maxpos_avg()