Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28458
| References | <CAEMsKDuQ2GJh9o0C=uCJkVAW6k2PDeGXU5ou8TbFgG4E-OVviQ@mail.gmail.com> |
|---|---|
| Date | 2012-09-04 23:37 -0700 |
| Subject | Re: why did the WindowsError occur? |
| From | Benjamin Kaplan <benjamin.kaplan@case.edu> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.215.1346827462.27098.python-list@python.org> (permalink) |
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.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: why did the WindowsError occur? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-09-04 23:37 -0700
csiph-web