[EMAIL PROTECTED] wrote:
> I'm using urllib2 to retrieve some data usign http in a multithreaded
> application.
> Here's a piece of code:
> req = urllib2.Request(url, txdata, txheaders)
> opener = urllib2.build_opener()
> opener.addheaders = [('User-agent
At Tuesday 16/1/2007 11:41, [EMAIL PROTECTED] wrote:
When I use it on a single thread everything goes ok, when I create
multiple threads the execution halts and the program terminates, just
before the last line (when I execute the request.read(.) ). Obviously I
tried to catch the exception but i
Hi,
I'm using urllib2 to retrieve some data usign http in a multithreaded
application.
Here's a piece of code:
req = urllib2.Request(url, txdata, txheaders)
opener = urllib2.build_opener()
opener.addheaders = [('User-agent', user_agent)]