python run batch file code example
Example 1: python execute bat file
import subprocess
subprocess.call([r'C:\Example\For\A\Location\Script.bat'])
Example 2: python run batch file
import subprocess
subprocess.call([r'path where the batch file is stored\name of the batch file.bat'])