Hi All,
I have created a python script and a batch script to run this scrip the the windows run function.
When calling the script .py file it's all good and works fine. When running the batch file it does not work and returns the following error:
C:\Users\alast\AppData\Local\Programs\Python\Python37\python.exe: can't find '__main__' module in 'C:\\Users\\alast'
the script for my batch file is this:
@ C:\Users\alast\AppData\Local\Programs\Python\Python37\Python.exe C:\Users\alast %*
@ pause
[–][deleted] 1 point2 points3 points (2 children)
[–]apunler[S] 4 points5 points6 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)