📜  python代码示例中的自动点击器

📅  最后修改于: 2022-03-11 14:46:56.746000             🧑  作者: Mango

代码示例2
import pyautogui
import time

def click(): 
    time.sleep(0.5)     
    pyautogui.click()

def main():
    for i in range(10):#you can set how much times you have to click in range(no. of times to click) 
        click()

main()