I am trying to run my python script through .bat. The script imports functions from other scripts and this works fine when running in the IDE(Spyder) however when I run the .bat I get the error unable to import module.
.bat is as follows
"D:\Users\User\AppData\Local\Programs\Python\Python38-32\python.exe" "D:\Users\User\Documents\programming\test.py"
I get the following error
Traceback (most recent call last): File "D:\Users\User\Documents\programming\test.py", line 1, in from SFTPDownload import downloadSFTP ModuleNotFoundError: No module named 'SFTPDownload'
What do I need to add to the .bat to pick up my function in SFTPDownload.py. This is in the same folder as the test.py.
Thanks in advance.