import ImageGrab import time time.clock() image = ImageGrab.grab() for y in range(0, 100, 10): for x in range(0, 100, 10): color = image.getpixel((x, y)) print(time.clock())