易百教程

81、如何在 Python 中启动线程?

要在 Python 中运行线程,需要调用 thread 模块的以下方法。

thread.start_new_thread ( function, args[, kwargs] )