urllib slow on FreeBSD 4.7?

Skip Montanaro skip at pobox.com
Tue Nov 19 22:18:03 EST 2002


    >>> os.system('/usr/local/bin/wget ...')
    doug> takes less than 2 seconds

    doug> while
    >>> u = urllib.urlopen("http://...")
    ...

    doug> takes about 2 minutes

Silly question perhaps, but is urllib2.urlopen() any faster?

-- 
Skip Montanaro - skip at pobox.com
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list