Every now and then you will run code that either runs forever (infinite loop) or has errors you identified and want to stop. To stop code from running you must interrupt the kernel. Interrupting the kernel stops the code from running but doesn’t remove the variable you have stored in memory.
How do you know your code is running?
- You can tell a code is currently running by looking at the Circle in the top right corner of the notebook. If its filled code is running if its not filled code is not running
How do you stop code from running?
- To stop code from running press the STOP button
- Jupyter Lesson 1: Installing the Jupyter Notebook
- Jupyter Lesson 2: Starting the Jupyter Notebook
- Jupyter Lesson 3: Create a working folder in the Jupyter Notebook
- Jupyter Lesson 4: Create a new Jupyter Notebook
- Jupyter Lesson 5: Working with MarkDown Cells
- Jupyter Lesson 6: Working with Code Cells
- Jupyter Lesson 7: Using Magic Commands
- Jupyter Lesson 8: Jupyter Notebook Keyboard Shortcuts
- Jupyter Lesson 9: How to Interrupt the Kernel (Stop code from running)
- Jupyter Lesson 10: How to reset the Kernel (Clear all in memory objects and stop the code)