the module's name is click Why doesn't this work, I will probably seem extremely stupid but I just cant understand it. I am new to using idle/the shell as I previously used my browser to code, but I want to make a script that will click a certain amount of times on the screen. I fixed the error with the loop btw. import pyautogui def autoclicker(x): for count in range(0, x): pyautogui.moveTo(35, 240) pyautogui.click() I have downloaded pyautogui but when i run the script it gives me this error: Traceback (most recent call last): File "<pyshell#25>", line 1, in click.autoclicker(2) AttributeError: module 'click' has no attribute 'autoclicker' How can i make this code work, so that when i run it it clicks the amount of times i set it to? Continue reading...