all AI news
How to take Screenshot using Python
Sept. 13, 2023, 5:27 p.m. | Max
DEV Community dev.to
We will see how to take screenshot using python in desktop with the help of pyautogui package this package is used of GUI automation.
First lets install the package by running the command
pip install pyautogui
Take screenshot using python
To take screenshot using python in desktop, for this import the pyautogui module, this comes with many features, but in this will be using the screenshot method.
import pyautogui
screen = pyautogui.screenshot()
screen.save( …
automation codenewbie command gui import install package pip programming pyautogui python running tutorial
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Developer AI Senior Staff Engineer, Machine Learning
@ Google | Sunnyvale, CA, USA; New York City, USA
Engineer* Cloud & Data Operations (f/m/d)
@ SICK Sensor Intelligence | Waldkirch (bei Freiburg), DE, 79183