[python-uk] Here's a little test

matt python-uk@python.org
Wed, 28 Aug 2002 16:33:34 +0100


>>> import webbrowser
>>> webbrowser.open("news.bbc.co.uk", 1)
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in ?
    webbrowser.open("news.bbc.co.uk", 1)
  File "D:\Python22\lib\webbrowser.py", line 43, in open
    get().open(url, new, autoraise)
  File "D:\Python22\lib\webbrowser.py", line 223, in open
    os.startfile(url)
WindowsError: [Errno 2] The system cannot find the file specified:
'news.bbc.co.uk'



>>> webbrowser.open("http://news.bbc.co.uk", 1)

works like a peach


---
Outgoing mail is certified as a Virus.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 02/08/2002