why did the WindowsError occur?

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Sep 5 03:52:57 EDT 2012


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.




More information about the Python-list mailing list