python mss
v10.0.0

from mss import mss
# The simplest use, save a screenshot of the 1st monitor
with mss () as sct :
sct . shot ()CTypes를 사용하여 순수한 파이썬의 초고속 크로스 플랫폼 다중 스크린 샷 모듈.
PIP로 설치할 수 있습니다.
python -m pip install -U --user mss또는 Conda로 설치할 수 있습니다.
conda install -c conda-forge python-mss