Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Asynchronous urllib (urllib+asyncore)?

Thread Tools

Asynchronous urllib (urllib+asyncore)?

Jonathan Gardner
Posts: n/a
So, I ran into a problem that I would like to write as little code as
possible to solve.

The problem is that I would like to send out a bunch of HTTP requests
simultaneously, using asynchronous techniques, and then do stuff with
the results in parallel. Think of something like Google's map-reduce.

It sounds like this would be something someone else has done before. I
searched google, but I don't think there is any discussion anywhere of
anyone doing something like this.

I am sure Twisted folks can code this up in 2 lines or less, or it
probably already exists there by default. But I need this to exist in
a non-asynchronous environment. I can't let Twisted take over

So, has someone done something like this? Is it something where I can
bring the urllib and asyncore together? Or is it much more involved?
Reply With Quote
Terry Jones
Posts: n/a
Hi Jerry

> I am hoping one or two members of this list might help me locate in Europe

Do you mean you want to re-locate here or that you're trying to locate
(i.e., find) people already here?

> My personal first choice is Spain

I'm in Barcelona (but not looking for work!). There are a couple of
companies around that I know of who use Python and quite a lot of
individual programmers.

> The point is that I can't really afford to run around and experiment, so I
> was hoping for some helpful comments or suggestions on how to research

I'm not sure what you're wanting to research. See first comment above.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
2to3 urllib.URLopener -> urllib.request.URLopener Chris McDonald Python 0 11-01-2010 11:23 AM
Deficiency in urllib/socket for https? Gary Feldman Python 4 08-23-2003 12:04 AM
urllib(2) and https blues? try pytunnel for python tunnelling john Python 1 08-01-2003 08:08 AM
htaccess & urllib Max Khesin Python 3 07-23-2003 04:28 PM
httplib\urllib attributes problem Bobbie Python 2 07-21-2003 07:45 AM