how to screenshot with pillow code example Example: python windows take screenshot pil import PIL.ImageGrab im = PIL.ImageGrab.grab() im.show()