{"slug": "ultra-fast-cross-platform-multiple-screenshots-module-in-pure-python", "title": "Ultra fast cross-platform multiple screenshots module in pure Python", "summary": "Python MSS, a pure Python module using ctypes, now offers ultra fast cross-platform multiple screenshots with no dependencies and thread-safe operation for Python 3.9+. The module captures screenshots per monitor or all monitors simultaneously, integrates with PIL, Numpy, and OpenCV, and is designed for AI, computer vision, and gaming applications.", "body_md": "# Welcome to Python MSS’s documentation![¶](#welcome-to-python-mss-s-documentation)\n\n``` python\nfrom mss import MSS\n\n# The simplest use, save a screenshot of the 1st monitor\nwith MSS() as sct:\n    sct.shot()\n```\n\nAn ultra fast cross-platform multiple screenshots module in pure python using ctypes.\n\nPython 3.9+,[compliant, no dependency, thread-safe;]PEP 8very basic, it will grab one screenshot by monitor or a screenshot of all monitors and save it to a PNG file;\n\nbut you can use PIL and benefit from all its formats (or add yours directly);\n\nintegrate well with Numpy and OpenCV;\n\nit could be easily embedded into games and other software which require fast and platform optimized methods to grab screenshots (like AI, Computer Vision);\n\nget the\n\n[source code on GitHub];learn with a\n\n[bunch of examples];you can\n\n[report a bug];need some help? Use the tag\n\npython-msson[Stack Overflow];\n\nMSSstands for Multiple ScreenShots;", "url": "https://wpnews.pro/news/ultra-fast-cross-platform-multiple-screenshots-module-in-pure-python", "canonical_source": "https://python-mss.readthedocs.io/stable/index.html", "published_at": "2026-06-05 10:11:37+00:00", "updated_at": "2026-06-05 10:49:51.468089+00:00", "lang": "en", "topics": ["computer-vision"], "entities": ["MSS", "Python", "PIL", "Numpy", "OpenCV", "GitHub", "Stack Overflow"], "alternates": {"html": "https://wpnews.pro/news/ultra-fast-cross-platform-multiple-screenshots-module-in-pure-python", "markdown": "https://wpnews.pro/news/ultra-fast-cross-platform-multiple-screenshots-module-in-pure-python.md", "text": "https://wpnews.pro/news/ultra-fast-cross-platform-multiple-screenshots-module-in-pure-python.txt", "jsonld": "https://wpnews.pro/news/ultra-fast-cross-platform-multiple-screenshots-module-in-pure-python.jsonld"}}