在python中使用多线程有两种方法,分别是使用thread和threading模块。threading是thread的高级封装,一般使用threading即可。
函数原型:
thread.start_new_thread ( function, args[, kwargs] )
参数说明