cmd how to run a python script using a batch file code example
Example: python run batch file
import subprocess
subprocess.call([r'path where the batch file is stored\name of the batch file.bat'])
import subprocess
subprocess.call([r'path where the batch file is stored\name of the batch file.bat'])