This blog contains projects from begineer to advanced level with python, html, css, and cpp language. This blog is made and maintained by Gaurav and Shanika
Code: import time import pyautogui import pyscreenshot as ImageGrab x=int(input('How many screenshot you want ? : ')) t=int(input('How much gap each should have in sec : ')) for i in range(1,x+1): print('Taking Screenshot in ',t,' Seconds...') time.sleep(t) im=ImageGrab.grab() im.show() pyautogui.keyDown('alt') time.sleep(.2) pyautogui.press('tab') time.sleep(.2) pyautogui.keyUp('alt') Output:
Great work 💪
ReplyDeleteKeep it up!!!
Awesome 😎
ReplyDelete