Hi All,
 
import webbrowser
url=''
webbrowser.open(url)
 
giving the error
 
Python 2.3.5 (#62, Feb  8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ## working on region in file c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/python-1720WXU.py...
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/python-1720WXU.py", line 3, in ?
    webbrowser.open(url)
  File "C:\Python23\lib\webbrowser.py", line 43, in open
    get().open(url, new, autoraise)
  File "C:\Python23\lib\webbrowser.py", line 250, in open
    os.startfile(url)
WindowsError: [Errno 2] The system cannot find the file specified: 'http://www.cnn.com'
>>>
 
any help
Thomas
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to