Python多线程,threading的用法

虫师的文章:

 

需要注意的是:

threads = [ ]

t1 = threading.Thread(target=music,args=(u'爱情买卖',))

threads.append(t1)

t2 = threading.Thread(target=move,args=(u'阿凡达',))

threads.append(t2)

上面的 args = 的是元组而不是简单的括号。。。

 

链接为:

www.cnblogs.com/fnng/p/3670789.html

www.cnblogs.com/fnng/p/3691053.html

posted @ 2015-04-18 11:04  Mellcap  阅读(240)  评论(0编辑  收藏  举报