I am trying to run a .exe file in python2.7. I have tried everything I could from searching it. Here are some code I have tried:
subprocess.Popen(r"C:\Programs Files\Internet Explorer\iexplore.exe")
And:
subprocess.Popen(["cmd","/c",r"C:\Programs Files\Internet Explorer\iexplore.exe"])
And:
os.popen(r"C:\Programs Files\Internet Explorer\iexplore.exe")
All except the first one(which brings up a Windows Error) do not seem to run iexplore.exe.
Is there another way to run an .exe file?