python2和python3终止进程的方法 python2和python3中强制结束进程的方法不同,python2使用threading.Thread._Thread__stop()结束进程,python3可使用ctypes强制结束进程。