On 04:26 am, adityashukla1...@gmail.com wrote:
Hello people,
I have 5 directories corresponding 5 different urls .I want to
download
images from those urls and place them in the respective directories.I
have
to extract the contents and download them simultaneously.I can extract
the
contents and do then one by one. My questions is for doing it
simultaneously
do I have to use threads?
Please point me in the right direction.
See Twisted,
http://twistedmatrix.com/
in particular, Twisted Web's asynchronous HTTP client,
http://twistedmatrix.com/documents/current/web/howto/client.html
http://twistedmatrix.com/documents/current/api/twisted.web.client.html
Jean-Paul
--
http://mail.python.org/mailman/listinfo/python-list