how to run a batch file with python 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'])