How to execute a .exe file from with Python?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Erwin Sanders
    New Member
    • Jan 2011
    • 1

    How to execute a .exe file from with Python?

    Hi -

    I need to execute an .exe file by clicking on a button using Python code.

    Thanking You in advance

    Regards
    Erwin
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    You would use subprocess.call (). See "Running External Command" here.

    Comment

    Working...