An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
See the code[!TIP] Become my boss to help me work on this awesome software, and make the world better:
from mss import MSS
# The simplest use, save a screenshot of the 1st monitor
with MSS() as sct:
sct.shot()
An ultra-fast cross-platform multiple screenshots module in pure python using ctypes.
You can install it with pip:
python -m pip install -U --user mss
Or you can install it with Conda:
conda install -c conda-forge python-mss
In case of scaling and high DPI issues for external monitors: some packages (e.g. mouseinfo / pyautogui / pyscreeze) incorrectly call SetProcessDpiAware() during import process. To prevent that, import mss first.
393 followers · starred Jan 2019
84 followers · starred Jul 2021
76 followers · starred May 2019
114 followers · starred Jan 2026
An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
See the code[!TIP] Become my boss to help me work on this awesome software, and make the world better:
from mss import MSS
# The simplest use, save a screenshot of the 1st monitor
with MSS() as sct:
sct.shot()
An ultra-fast cross-platform multiple screenshots module in pure python using ctypes.
You can install it with pip:
python -m pip install -U --user mss
Or you can install it with Conda:
conda install -c conda-forge python-mss
In case of scaling and high DPI issues for external monitors: some packages (e.g. mouseinfo / pyautogui / pyscreeze) incorrectly call SetProcessDpiAware() during import process. To prevent that, import mss first.
393 followers · starred Jan 2019
84 followers · starred Jul 2021
76 followers · starred May 2019
114 followers · starred Jan 2026