python use with open to load batch file code example
Example: python execute bat file
import subprocess
subprocess.call([r'C:\Example\For\A\Location\Script.bat'])
import subprocess
subprocess.call([r'C:\Example\For\A\Location\Script.bat'])