A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/325139.html below:

webbrowser failing

webbrowser failingDogWalker forestiero at qwest.net
Mon Sep 26 23:44:12 EDT 2005
"Thomas Thomas" <thomas at eforms.co.nz> said:

>Hi All,
>
>import webbrowser
>url='http://www.cnn.com'
>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
>Thoma

Were you connected when you tried?
More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4