Any python scripts to do parallel downloading?

Jean-Paul Calderone exarkun at divmod.com
Wed Jan 31 22:21:00 EST 2007


On 31 Jan 2007 19:12:59 -0800, Aahz <aahz at pythoncraft.com> wrote:
>In article <mailman.3386.1170299364.32031.python-list at python.org>,
>Jean-Paul Calderone  <exarkun at divmod.com> wrote:
>>
>>You misunderstand.  I wasn't expressing a lack of confidence in Python
>>threads, but in the facility with which they can be used by programmers.
>
>Based on my admittedly limited experience, I say the same about Twisted.
>Although I was able to bring up a Twisted 1.1 web server in a hurry under
>extreme pressure (15 minutes before a PyCon presentation), I have never
>been able to even get Twisted 2.0 installed.

FWIW, this is probably even easier than when you last tried it:

    exarkun at kunai:~$ twistd -n web --port 8080 --path /tmp
    2007-01-31 22:19:34-0500 [-] Log opened.
    2007-01-31 22:19:34-0500 [-] twistd 2.5.0+r19505 (/usr/bin/python 2.4.3) starting up
    2007-01-31 22:19:34-0500 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
    2007-01-31 22:19:34-0500 [-] twisted.web.server.Site starting on 8080
    2007-01-31 22:19:34-0500 [-] Starting factory <twisted.web.server.Site instance at 0xb79c646c>

>Software is hard.

But I absolutely agree with this point, anyway :)  Software is _crazy_
hard.  I merely dispute the claim that threads are somehow _easier_. :)

Jean-Paul



More information about the Python-list mailing list