I just wanted to ask your help with my problem below.
My code is working perfectly but after converting it to .exe
using PyInstaller
, I will encounter FileNotFoundError: [WinError 2]
.
Kindly suggest how I can fix it.
Code:
import pyautogui, time
try:
while True:
time.sleep(30)
pyautogui.dragRel(1,0)
pyautogui.dragRel(-1,0)
except KeyboardInterrupt:
print('Done')