calling .exe inside a .py?
shindich at my-deja.com
shindich at my-deja.com
Thu Jul 13 15:51:21 EDT 2000
In article <8kl527$tke$1 at nnrp1.deja.com>,
level2junkie at my-deja.com wrote:
> Does anyone know how to call an .exe file from inside a .py file?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Try this:
import os
os.execl ('foo.exe')
For more info read http://www.python.org/doc/current/lib/os-process.html
Regards,
Alex Shindich
http://www.shindich.com/
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list