进程线程

在进程中创建新线程:

方式一:

import threating

def foo(n):

t1 = threading.Thread(target=foo,args=(1,))

t1.start

方式二:

原文地址:https://www.cnblogs.com/zzm-blog/p/8798835.html