Код: Выделить всё
C:\Users\[myname]>"C:\Users\[myname]\OneDrive\desktop\autoclicker\dist\autoclicker.exe"
Traceback (most recent call last):
File "autoclicker.py", line 1, in
ModuleNotFoundError: No module named 'pyautogui'
[12716] Failed to execute script 'autoclicker' due to unhandled exception!
C:\Users\[myname]>
Код: Выделить всё
import pyautogui
import keyboard
import sys
print("Just hold R to stat clicking!")
while True:
if keyboard.is_pressed("R"):
pyautogui.click()
Подробнее здесь: https://stackoverflow.com/questions/749 ... -py-to-exe
Мобильная версия