Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12965
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.056 |
| X-Spam-Evidence | '*H*': 0.89; '*S*': 0.00; 'alias': 0.09; 'am,': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:download': 0.16; 'wrote:': 0.16; 'received:74.125.82.44': 0.17; 'received:mail-ww0-f44.google.com': 0.17; 'header:In-Reply- To:1': 0.22; 'sep': 0.23; 'string': 0.26; 'message- id:@mail.gmail.com': 0.29; 'iterating': 0.30; '\xa0\xa0\xa0': 0.31; 'to:addr:python-list': 0.33; 'letter.': 0.34; 'fri,': 0.36; 'doing': 0.36; 'received:74.125.82': 0.38; 'received:google.com': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'received:74.125': 0.39; "it's": 0.40; 'your': 0.61; 'here': 0.65; '12:12': 0.84; 'for\xa0': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=e4zA0qXgiUw3fAyN3He5GY4je3U5q9WWgSJyCRAKYno=; b=WopG4x6rxFXp8GDVj1t6WdTXaQAjovbqrpFWrwDVOw7UCXZD2sRPa013yhZd7yVV85 XMOPR/pk5Lyi1plxzRnU8OOc80BbXb05NipmRMAgQvtQ1rjestkrQEgchhT8tk8W5IhH Y4gZDpXALeVr9OChs128cF3PUkCUF+M2x234s= |
| MIME-Version | 1.0 |
| In-Reply-To | <tencent_4166F0FA34A3622828C18134@qq.com> |
| References | <tencent_4166F0FA34A3622828C18134@qq.com> |
| Date | Fri, 9 Sep 2011 00:26:03 +1000 |
| Subject | Re: wrap the queue to multiprocess download |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.876.1315491965.27778.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1315491965 news.xs4all.nl 2552 [2001:888:2000:d::a6]:54199 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:12965 |
Show key headers only | View raw
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