exec .exe

wukong novacompute at gmail.com
Fri Mar 26 23:48:02 CET 2010


On Mar 26, 3:10 pm, Irmen de Jong <irmen-NOSP... at xs4all.nl> wrote:
> 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

worked like a charm, :-)  thanks irmen.



More information about the Python-list mailing list