Jeff Sadino wrote:
> I would like to write a python script that runs an executable program.  If I 
> have a program here:
>
> C:\My Document\Program.exe
>
> how would I execute that program from within a python script?
>   
you could use the os module.
os.system() lets you run system commands.
Or maybe exec or spawn, but I don't know how to use those.
> Thank you,
> Jeff Sadino
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>   

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to