Date: 25 Jul 2022
Module: pyscreenshot
Installation: pip install pyscreenshot
About: Pyscreenshot tries to allow to take screenshots without installing
3rd party libraries. It is cross-platform.
Sample Source Code:
"Grab the whole screen"
import pyscreenshot as ImageGrab
# grab fullscreen
im = ImageGrab.grab()
# save image file
im.save("fullscreen.png")
Execution:
$ python pyscreenshot_sample.py
Output:
# screen shot will be created and saved in the fullscreen.png file
$ ls -lrt fullscreen.png
Reference: https://pypi.org/project/pyscreenshot/
_______________________________________________
Chennaipy mailing list
[email protected]
https://mail.python.org/mailman/listinfo/chennaipy