running exe file

E

Eric_Dexter

How can I run .exe file from my python script?

import os

os.startfile('file.exe')

The downside is that it doesn't work on the mac.. but it does work on
stuff like

os.startfile('notepad.txt')

I have been waiting for a good hacker to write a version to check what
op system you have and
then execute... I have more examples in my dex tracker package (use
google)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top