Ahh. That helps a lot. Thanks.
-Robin
- Original Message -
From: "Kent Johnson" <[EMAIL PROTECTED]>
To: "Python Tutor"
Sent: Thursday, December 22, 2005 7:46 PM
Subject: Re: [Tutor] running a .exe
> Robin Buyer wrote:
> > I create
Robin Buyer wrote:
> I created a small program to test os.system:
>
> import os.path
> os.system("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
>
> when i run this from the command line I get an error message:
> 'C:\Program' is not recognized as an internal or external command, operable
> pro
The internet was just an example. I'm just looking at how to open .exe from
python.
- Original Message -
From: "Liam Clarke-Hutchinson" <[EMAIL PROTECTED]>
To: "'Robin Buyer'" <[EMAIL PROTECTED]>;
Sent: Thursday, December 22, 2005 7:35 PM
S
Robin Buyer wrote:
> How do you run a .exe from inside a python program.
> random example:
> print "What would you like to do today? "
> print "E - email"
> print "I - internet"
> what = input("Choose: ")
> if what == "E":
> Heres where i would need to run IEXPLORE.exe
Look