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 at os.system() (simple) and the subprocess module (more complicated and 
flexible).

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to