Simple question (launch a program)

Emile van Sebille emile at fenx.com
Fri Jun 29 22:40:54 EDT 2001


Maybe you need a raw string? eg:
>>> system(r"C:\Program Files\KeyNote\keynote.exe")

--

Emile van Sebille
emile at fenx.com

---------
"MDK" <no at spam.com> wrote in message
news:9hil2h$3qa$1 at taliesin.netcom.net.uk...
>
> "Franz GEIGER" <fgeiger at datec.at> wrote in message
> news:9hf868$941$1 at newsreaderg1.core.theplanet.net...
> > Did you try os.system()?
> >
> > Regards
> > Franz
> >
>
> Yes. If I do
> >>> system("notepad")
> notepad launches and I get a return code of 0.
>
> However, if I do:
> >>> system("C:\Program Files\KeyNote\keynote.exe")
> I get a return code of 1 and nothing happens.
>
>
>
>





More information about the Python-list mailing list