>>> x=webdata(name)
>>> x.start()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'webdata' object has no attribute 'start'
There is a relation with jobs.join() method in threading module,your answer is
wrong.
------------------ 原始邮件 ------------------
发件人: "Sturla Molden";<[email protected]>;
发送时间: 2014年7月26日(星期六) 凌晨4:04
收件人: "python-list"<[email protected]>;
主题: Re: problem on multi-threading
"水静流深" <[email protected]> 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()
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list