Execute a python file, which is integrated in a visual studio project via bat file
€8-15 EUR
Anulat
Data postării: aproape 6 ani în urmă
€8-15 EUR
Plata la predare
I have a visual studio Python project, which includes several python files and Search Paths, which includes modules. When i rightclick on the "[login to view URL]" file and click on "Start with/without debugging" then it is successfully executed.
My goal: I want to execute the [login to view URL] file via a bat file. I already tried this command "python [login to view URL]" in the bat file.
But somehow it does not find the modules which are imported to the main.py. The modules are set up in the Search Paths in Visual Studio. I think i have to tell the bat file to include the Search Paths. Any solutions?