Call/Execute Python scripts with parameters/arguments/args
Extern python scripts, executables and other programs can be called/executed as described in this example:
import subprocess
args = (
' --flag ',
' --flag1 ',
' --flag2 ',)
subprocess.call(['/opt/googleappengine/dev_appserver.py', args], shell = True)
Comments
Post a Comment