why did the WindowsError occur?

Levi Nie levinie001 at gmail.com
Wed Sep 5 02:30:01 EDT 2012


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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120905/d90a1123/attachment.html>


More information about the Python-list mailing list