running exe file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Saurabh Sharma

    running exe file

    How can I run .exe file from my python script?
  • Méta-MCI \(MVP\)

    #2
    Re: running exe file

    Hi!

    See: system( startfile( subprocess( spawn( etc.

    @-salutations
    --
    Michel Claveau

    Comment

    • Eric_Dexter@msn.com

      #3
      Re: running exe file

      On Aug 22, 12:12 am, Saurabh Sharma <srsse...@gmail .comwrote:
      How can I run .exe file from my python script?
      import os

      os.startfile('f ile.exe')

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

      os.startfile('n otepad.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)

      Comment

      Working...