spyder结束死循环的方法

当你在spyder上运行python程序

进入了一个不可控的状态,想要停下来

重启一下内核:

Restart kernel  见下图:

原文地址:https://www.cnblogs.com/chulin/p/8883801.html