Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to run .exe from python

##### Sol_1
import subprocess
subprocess.call(["path_to_exe.exe",'parameter_1','parameter_2'])

##### Sol_2
import os
os.startfile("path_to_exe.exe",'parameter_1','parameter_2')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #python
ADD COMMENT
Topic
Name
4+2 =