“Python Run exe” Code-Antworten

wie man a .exe durch Python läuft

import os
os.startfile("C:\Documents and Settings\flow_model\flow.exe")
Daneel Brookes

So starten Sie eine EXE -Datei in Python


import sys, string, os, arcgisscripting
os.system("C:/Documents and Settings/flow_model/flow.exe")
Successful Skylark

Python Run exe

##### Sol_1
import subprocess
subprocess.call(["path_to_exe.exe",'parameter_1','parameter_2'])

##### Sol_2
import os
os.startfile("path_to_exe.exe",'parameter_1','parameter_2')
Assassin

Führen Sie Calc.exe in Python aus

import subprocess
subprocess.Popen("C:\Documents and Settings\flow_model\flow.exe")
Powerful Puffin

Ähnliche Antworten wie “Python Run exe”

Fragen ähnlich wie “Python Run exe”

Weitere verwandte Antworten zu “Python Run exe” auf Python

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen