You can use mss an ultra fast cross-platform multiple screenshots module in pure python using ctypes. it integrate well with Numpy and OpenCV. it could be easily embedded into games and other software which require fast and platform optimized methods to grab screen shots (like AI, Computer Vision).