[Tutor] urlopen: where are the results?

Alan Gauld alan.gauld at freenet.co.uk
Thu Mar 23 09:29:20 CET 2006


> Anybody care to comment on the following?
> 
>>>> from urllib2 import *

Its considered bad practice to use 
from foo import *
but at the >>> prompt its not too bad.

>>>> urlopen("http://www.kermitrose.com")
> <addinfourl at 13510096 whose fp = <socket._fileobject object at
> 0x00CDD768>>
>>>> 

Looks good. What did you expect?

Alan G


More information about the Tutor mailing list