You might want to consider checking out PIL(pillow module), there are ways to take photos of a window or the python output.