How to take a screenshot using python in windows ?
You can use pyscreenshot module. The pyscreenshot module can be used to copy the contents of the screen to a PIL image memory or file. You can install it using pip.
This script will only works if you installed "pyscreenshot" module in python.
For installing "pyscreenshot" use command "pip install pyscreenshot".