xxxxxxxxxx
import os
os.startfile("C:\Documents and Settings\flow_model\flow.exe")
xxxxxxxxxx
import sys, string, os, arcgisscripting
os.system("C:/Documents and Settings/flow_model/flow.exe")
xxxxxxxxxx
##### 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')
xxxxxxxxxx
'''
Assuming you want to run the file like this: ./script.py
use the shebang (#!)
and tell the location of the interpreter
example:
1) #!/path/to/project/venv/bin/python (if using virtual env)
2) #!/usr/bin/env python
'''