python多线程
https://zhidao.baidu.com/question/331283597411477605.html
http://www.tuicool.com/articles/memiam2
http://www.cnblogs.com/Thkeer/p/5559814.html
http://blog.csdn.net/a921800467b/article/details/8579915
http://www.jianshu.com/p/86b8e78c418a?search_token=4d8e9a843325f3abd4be64fb668ec7812f760bc1f9aa7b10431fa8966453a868
http://www.2cto.com/kf/201504/395330.html
http://www.jb51.net/article/79631.htm
import
threading
import
time
def
show(arg):
time.sleep(
1
)
print
(
'thread'
+
str
(arg))
for
i
in
range
(
10
):
t
=
threading.Thread(target
=
show, args
=
(i,))
t.start()
print
(
'main thread stop'
)