urllib2 and threading

Aahz aahz at pythoncraft.com
Sat May 2 00:16:38 EDT 2009

In article <de102095-b858-4d01-bec2-a7b4b7160caa at u39g2000pru.googlegroups.com>,
robean  <st1999 at gmail.com> wrote:
>Here's the problem: the script simply crashes after getting a a couple
>of urls and takes a long time to run (slower that a non-threaded
>version that I wrote and ran). Can anyone figure out what I am doing
>wrong? I am new to both threading and urllib2, so its possible that
>the SNAFU is quite obvious.

For an example, see

Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Typing is cheap.  Thinking is expensive."  --Roy Smith

More information about the Python-list mailing list