Program to Capture Screenshot of the Window || Python

 

In this we are going to see a program on how to Capture Screenshot of the Window in Python Programming Language.


import pyautogui

name = input("Enter name of the screenshot image: ")
screenshot = pyautogui.screenshot()
screenshot.save(f"{name}.png")

# Coded by Saahil

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post