Take Single Screenshot of All Monitors using Python

pyscreenshot module

  1. Install pyscreenshot module from the command line:
pip install Pillow
pip install pyscreenshot

Note: Pillow library required by pyscreenshot.

  1. Take a single screenshot of all monitors:
import pyscreenshot

image = pyscreenshot.grab()
image.save('screenshot.png')

Leave a Comment

Cancel reply

Your email address will not be published.