471,337 Members | 1,252 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

runnnig executables?

i know how to edit .txt files, but is there any way to make my script run a windows executable programme? (.exe)

thanks :)
Aug 29 '07 #1
1 936
bartonc
6,596 Expert 4TB
i know how to edit .txt files, but is there any way to make my script run a windows executable programme? (.exe)

thanks :)
The simplest way is os.startfile(path). There is also os.system(command).

Both of those are documented in the
6.1.5 Process Management
section of the os module documentation.

There are others, as well, but they are of a more advanced nature.
Aug 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

14 posts views Thread by Hemanth | last post: by
2 posts views Thread by Jubril Oyesiji | last post: by
9 posts views Thread by mac | last post: by
5 posts views Thread by VJ | last post: by
1 post views Thread by Water Cooler v2 | last post: by
6 posts views Thread by =?Utf-8?B?Q2hhcmxlcyBS?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.