Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75212

Re: problem on multi-threading

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thread': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'subject:problem': 0.24; 'header:X -Complaints-To:1': 0.27; "skip:' 10": 0.31; '8bit%:86': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:x 10': 0.40; 'skip:n 10': 0.64; 'received:178': 0.74
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Sturla Molden <sturla.molden@gmail.com>
Subject Re: problem on multi-threading
Date Fri, 25 Jul 2014 20:04:22 +0000 (UTC)
References <tencent_1CC4554F04C01A7F6AB8300C@qq.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host ip-155-53-72-178.dialup.ice.net
User-Agent NewsTap/4.0.1 (iPad)
X-
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12320.1406319007.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1406319007 news.xs4all.nl 2937 [2001:888:2000:d::a6]:44154
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75212

Show key headers only | View raw


"水静流深" <1248283536@qq.com> wrote:

> name=['600000', '000001', '600319', '600531','600661', '600983', '600202', '600149']
> x=webdata(name)
> x.run()‍
> 
> never quit from the thread ,why?

Call .start() instead of .run()

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: problem on multi-threading Sturla Molden <sturla.molden@gmail.com> - 2014-07-25 20:04 +0000

csiph-web