Python使用多线程报错,怎么办a


_thread.start_new_thread( shoot, () )

然后报错误:

TypeError: first arg must be callable

急!

错在shoot,它应该是个函数。
检查上下文,看看type(shoot)的值是什么。