exec .exe

Irmen de Jong irmen-NOSPAM- at xs4all.nl
Fri Mar 26 18:10:38 EDT 2010


On 26-3-2010 22:58, wukong wrote:
> newbie question, how do you run a .exe generated by MSVC++ in python
> in windows?

Use the subprocess module, for instance:
subprocess.call(["notepad.exe", "d:/file.txt"])

irmen



More information about the Python-list mailing list