Answers for "how to run a bat file from pytho"

3

python execute bat file

import subprocess
subprocess.call([r'C:ExampleForALocationScript.bat'])
Posted by: Guest on May-14-2020
-1

bat run python script

"Path where your Python exe is storedpython.exe" "Path where your Python script is storedscript name.py"
pause
Posted by: Guest on March-30-2021

Code answers related to "how to run a bat file from pytho"

Python Answers by Framework

Browse Popular Code Answers by Language