Re: Do I have to use threads?

2010-01-13 Thread Tom
sly.I can   > >>>> extract the > >>>> contents and do then one by one. My questions is for doing it   > >>>> simultaneously > >>>> do I have to use threads? > >>> No. You could spawn 5 copies of wget (or curl or a Python program that

Re: Do I have to use threads?

2010-01-08 Thread r0g
es 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 h

Re: Do I have to use threads?

2010-01-08 Thread Jorgen Grahn
ct 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. >> >> >> Thanks >> >> Aditya &

Re: Do I have to use threads?

2010-01-07 Thread Philip Semanchuk
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? No. You could spawn 5 copies of wget (or curl or a Python

Re: Do I have to use threads?

2010-01-07 Thread MRAB
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? No. You could spawn 5 copies of wget (or curl or a Python program that you've wr

Re: Do I have to use threads?

2010-01-07 Thread Jorgen Grahn
gt;> > 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   >> >

Re: Do I have to use threads?

2010-01-07 Thread Marco Salden
e   > > 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? > > No. You could spawn 5 copies of

Re: Do I have to use threads?

2010-01-06 Thread exarkun
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/

Re: Do I have to use threads?

2010-01-06 Thread Brian J Mingus
nts 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? >>>> >>>> >>> No. You could spawn 5 copies of wget (or

Re: Do I have to use threads?

2010-01-06 Thread Philip Semanchuk
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? No. You could spawn 5 copies of wget (or curl or a Python program that you&#x

Re: Do I have to use threads?

2010-01-05 Thread Gary Herron
. My questions is for doing it simultaneously do I have to use threads? Please point me in the right direction. Thanks Aditya You've been given some bad advice here. First -- threads are lighter-weight than processes, so threads are probably *more* efficient. However, with only five t

Re: Do I have to use threads?

2010-01-05 Thread aditya shukla
Thanks.i will look into multiprocessing. Aditya -- http://mail.python.org/mailman/listinfo/python-list

Re: Do I have to use threads?

2010-01-05 Thread Brian J Mingus
ctive 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? >> > > No. You could spawn 5 copies of wget (or curl or

Re: Do I have to use threads?

2010-01-05 Thread Rodrick Brown
y.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

Re: Do I have to use threads?

2010-01-05 Thread Philip Semanchuk
contents and do then one by one. My questions is for doing it simultaneously do I have to use threads? No. You could spawn 5 copies of wget (or curl or a Python program that you've written). Whether or not that will perform better or be easier to code, debug and maintain depends o

Do I have to use threads?

2010-01-05 Thread aditya shukla
it simultaneously do I have to use threads? Please point me in the right direction. Thanks Aditya -- http://mail.python.org/mailman/listinfo/python-list