By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,905 Members | 1,701 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,905 IT Pros & Developers. It's quick & easy.

runnnig executables?

P: 7
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
Share this Question
Share on Google+
1 Reply


bartonc
Expert 5K+
P: 6,596
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.