pyscreenshot module
- Install
pyscreenshot
module from the command line:
pip install Pillow
pip install pyscreenshot
Note: Pillow
library required by pyscreenshot
.
- Take a single screenshot of all monitors:
import pyscreenshot
image = pyscreenshot.grab()
image.save('screenshot.png')
Leave a Comment
Cancel reply