Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12965
| References | <tencent_4166F0FA34A3622828C18134@qq.com> |
|---|---|
| Date | 2011-09-09 00:26 +1000 |
| Subject | Re: wrap the queue to multiprocess download |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.876.1315491965.27778.python-list@python.org> (permalink) |
On Fri, Sep 9, 2011 at 12:12 AM, alias <1248283536@qq.com> wrote:
> def __init__(self,arg):
> for x in name:
>
> s=webdata('quote')
What you're doing here is iterating over the letters in the string
'quote'. It's adding one job for each letter. Is that your intention?
ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: wrap the queue to multiprocess download Chris Angelico <rosuav@gmail.com> - 2011-09-09 00:26 +1000
csiph-web