On Tue, Sep 4, 2012 at 11:30 PM, Levi Nie <levinie...@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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to