Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28529
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'error:': 0.05; 'sufficient': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'weird': 0.15; 'benjamin': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'import': 0.21; 'header:X-Complaints-To:1': 0.28; '-0700,': 0.29; 'probably': 0.29; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'code:': 0.33; 'pm,': 0.35; 'subject:?': 0.35; "won't": 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'matter': 0.61; 'explorer': 0.65; 'internet': 0.71; '[error': 0.84; 'dennis': 0.91; 'received:108': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Subject | Re: why did the WindowsError occur? |
| Date | Wed, 05 Sep 2012 13:18:37 -0400 |
| Organization | > Bestiaria Support Staff < |
| References | <CAEMsKDuQ2GJh9o0C=uCJkVAW6k2PDeGXU5ou8TbFgG4E-OVviQ@mail.gmail.com> <CAMuTYXiRptYOC44bCKAsP7iLZG4-_e8aVb3QcZrTmioPiU80Og@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | adsl-108-79-223-184.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 3.3/32.846 |
| X-No-Archive | YES |
| 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.259.1346865609.27098.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1346865609 news.xs4all.nl 6915 [2001:888:2000:d::a6]:33783 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:28529 |
Show key headers only | View raw
On Tue, 4 Sep 2012 23:37:57 -0700, Benjamin Kaplan
<benjamin.kaplan@case.edu> declaimed the following in
gmane.comp.python.general:
> On Tue, Sep 4, 2012 at 11:30 PM, Levi Nie <levinie001@gmail.com> 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'
> >
>
> There's no such thing as C:\Program Files\Internet Explorer.exe. You
> probably want C:\Program Files\Internet Explorer\iexplore.exe.
Unless I have a weird computer,
>>> import os
>>> os.startfile("iexplore")
>>>
is sufficient to start internet explorer (why one would want to start IE
is a matter I won't touch).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: why did the WindowsError occur? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-05 13:18 -0400
csiph-web