Alastair Rankine wrote:
> Hi,
> 
> I just installed MacPython 2.4.1 and TigerPython24Fix from 
> http://undefined.org/python/ onto my Tiger system. All is not well with 
> the urllib2 module:
> 
> $ python
> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import urllib2
>  >>> urllib2.urlopen("http://www.python.org";)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/urllib2.py", 
> line 130, in urlopen
>     return _opener.open(url, data)
[snip]

Works for me.

[~]$ python
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import urllib2
 >>> urllib2.urlopen('http://www.python.org')
<addinfourl at 4345208 whose fp = <socket._fileobject object at 0x425340>>
 >>>


-- 
Robert Kern
[EMAIL PROTECTED]

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to