runnnig executables?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vegtard
    New Member
    • May 2007
    • 7

    #1

    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 :)
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    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

    Working...