In this video ,we will learn How to take a screenshot of screen in python using pyautogui. We are going to use and Install the a pip install PyAutoGUI for this project. PyAutoGUI is a cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.

Keyboard and Mouse Control
The x, y coordinates used by PyAutoGUI has the 0, 0 origin coordinates in the top left corner of the screen. The x coordinates increase going to the right (just as in mathematics) but the y coordinates increase going down (the opposite of mathematics). On a screen that is 1920 x 1080 pixels in size, coordinates 0, 0 are for the top left while 1919, 1079 is for the bottom right.

Currently, PyAutoGUI only works on the primary monitor. PyAutoGUI isn’t reliable for the screen of a second monitor (the mouse functions may or may not work on multi-monitor setups depending on your operating system and version).

All keyboard presses done by PyAutoGUI are sent to the window that currently has focus, as if you had pressed the physical keyboard key.

This is a simple tutorial that will show you how to use the PyAutoGUI library in python to create a Screenshot maker.

This tool is also helpful in such a case ,if screenshot is not supported in your device or keyboard shortcut key is not working. A simple screenshot taking software.

Installation
Install using pip with:
πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡

pip install PyAutoGUI

#python #programming #developer

How to Take Screenshot in Python with PyAutoGUI
5.05 GEEK