import pyautogui
import time
from tkinter import Tk
pyautogui.FAILSAFE = True
clipyy = pyautogui.locateOnScreen('clipy.png')
clipy = pyautogui.center(clipyy)
pyautogui.leftClick(clipy)
This is my code. Could you please find the answer?
I tried the pyautogui.locateOnScreen('clipy.png')
but it simply does not work