Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28462

Re: why did the WindowsError occur?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: why did the WindowsError occur?
Date 2012-09-05 08:52 +0100
References <CAEMsKDuQ2GJh9o0C=uCJkVAW6k2PDeGXU5ou8TbFgG4E-OVviQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.218.1346831518.27098.python-list@python.org> (permalink)

Show all headers | View raw


On 05/09/2012 07:30, Levi Nie wrote:
> my code:
> import os
> os.startfile(r'C:\Program Files\Internet Explorer.exe')
>
> the error:
> os.startfile(r'C:\Program Files\Internet Explorer.exe')
> WindowsError: [Error 2] : 'C:\\Program Files\\Internet Explorer.exe'
>
>
>

Because you've done something wrong.  If you'd like to tell us what 
you've done to find out where the problem is, we are far more likely to 
help.  Please remember that the rates of pay here are amongst the lowest 
in the world :)

-- 
Cheers.

Mark Lawrence.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: why did the WindowsError occur? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-05 08:52 +0100
  Re: why did the WindowsError occur? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 05:51 -0700
    Re: why did the WindowsError occur? Chris Angelico <rosuav@gmail.com> - 2012-09-05 23:13 +1000
  Re: why did the WindowsError occur? Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 05:51 -0700

csiph-web