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

原文地址:https://www.cnblogs.com/Mellcap/p/4437007.html