import pyautogui from PIL import Image, ImageGrab import time def hit(key): pyautogui.keyDown(key) # def draw(): def takeshot(): Image=ImageGrab.grab().co