How to terminate a running python code within IDLE?
Hi everyone,
A lot of times, I would like to terminate a contingency analysis process (that might take more than half hour) in the middle in the python shell of IDLE, so that I can test my another script. I tried Ctrl+C and Ctrl+Z,but neither worked. I searched through all the drop-down menus of IDLE, no options seem to solve my issue.
Does anyone know the trick? Really appreciate it!
Regards,
Yp
So far, I had to close the whole python shell window to stop it. But the problem is that I have to reopen IDLE and reload my script.
I'm not sure what the correct answer is here. I suspect you are close to the optimal solution. This is one of the reasons I stopped using IDLE, now I use a standard python console + a normal text editor.
So far, I still stop the process by closing the IDLE python shell terminal and restart everything over. Hope someone who know a smarter answer contribute his/her trick to this community.