How to stop an infinite (runaway) loop in your Python program running in Canopy

In general, typing Control+C cannot be counted on to interrupt a running Python program.

Depending on what is happening in your loop:

1) Canopy's Run menu > Interrupt kernel (for most simple programs, this will work)

or 2) Run menu > Restart kernel

or 3) Quit Canopy, then restart it.

Have more questions? Submit a request


Powered by Zendesk