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


Groups > comp.lang.python > #28483

Re: why did the WindowsError occur?

Newsgroups comp.lang.python
Date 2012-09-05 05:51 -0700
References <CAEMsKDuQ2GJh9o0C=uCJkVAW6k2PDeGXU5ou8TbFgG4E-OVviQ@mail.gmail.com> <mailman.218.1346831518.27098.python-list@python.org>
Subject Re: why did the WindowsError occur?
From Ramchandra Apte <maniandram01@gmail.com>
Message-ID <mailman.230.1346849526.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Wednesday, 5 September 2012 13:21:58 UTC+5:30, Mark Lawrence  wrote:
> 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 :)
I haven't heard anybody in a group paying money to be able to answer a question!
So it should be the lowest rates of pay in the world.
> 
> 
> 
> -- 
> 
> Cheers.
> 
> 
> 
> Mark Lawrence.

Back to comp.lang.python | Previous | NextPrevious 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