Sunday, December 13, 2009

Execute Python With Bat File I Have An Exe File That Takes A Command Line Argument. I Want To Execute It From A Python Script. ?

I have an exe file that takes a command line argument. I want to execute it from a Python script. ? - execute python with bat file

Can I use the command python execfile () and execute the program as follows (the program is Main.exe)
execfile 100 ( "Main.exe)
The Main.exe file takes an integer argument. If that fails, not, as I have in Python? Thank you in advance for any help!

0 comments:

Post a Comment