Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Python
runnnig executables?
runnnig executables?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
vegtard
New Member
Join Date:
May 2007
Posts:
7
#1
runnnig executables?
Aug 29 '07, 01:19 PM
i know how to edit .txt files, but is there any way to make my script run a windows executable programme? (.exe)
thanks :)
bartonc
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
6478
#2
Aug 29 '07, 04:23 PM
Originally posted by
vegtard
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(pa th). There is also os.system(comma nd).
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.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment