On Tue, Jan 5, 2010 at 11:26 PM, aditya shukla <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. > > Threads in python are very easy to work with but not very efficient and for most cases slower than running multiple processes. Look at using multiple processes instead of going with threads performance will be much better. > Thanks > > Aditya > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- [ Rodrick R. Brown ] http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
-- http://mail.python.org/mailman/listinfo/python-list