from PIL import ImageGrab
# Captura a tela inteira
screenshot = ImageGrab.grab()
screenshot.save("captura_pillow.png")