run bat file in python code example
Example 1: python execute bat file
import subprocess
subprocess.call([r'C:\Example\For\A\Location\Script.bat'])
Example 2: bat run python script
"Path where your Python exe is stored\python.exe" "Path where your Python script is stored\script name.py"
pause