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


Groups > comp.lang.python > #28462

Re: why did the WindowsError occur?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'error:': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'import': 0.21; 'help.': 0.22; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.28; 'from:addr:yahoo.co.uk': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'code:': 0.33; 'likely': 0.33; 'done': 0.34; 'subject:?': 0.35; 'something': 0.35; 'received:org': 0.36; 'far': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; "you've": 0.61; 'world': 0.63; 'more': 0.63; 'here': 0.65; '[error': 0.84; 'amongst': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: why did the WindowsError occur?
Date Wed, 05 Sep 2012 08:52:57 +0100
References <CAEMsKDuQ2GJh9o0C=uCJkVAW6k2PDeGXU5ou8TbFgG4E-OVviQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-78-147-29-55.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120824 Thunderbird/15.0
In-Reply-To <CAEMsKDuQ2GJh9o0C=uCJkVAW6k2PDeGXU5ou8TbFgG4E-OVviQ@mail.gmail.com>
X-Antivirus avast! (VPS 120904-1, 04/09/2012), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.218.1346831518.27098.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346831518 news.xs4all.nl 6928 [2001:888:2000:d::a6]:35321
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28462

Show key headers only | 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