You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on my project, at some condition I want to stop the program. At that time, I was calling exit() function but unfortunately notebook did not exit the program. Even if the python program is working properly in python IDLE.
Expected
Notebook killed the program.
Actual
Notebook run program continuously and execute next block of statements.
The text was updated successfully, but these errors were encountered:
@nishikeshKardak , As far I have understood using the exit() inside the function or outside the function in the Jupyter Notebook, will cause the Jupyter kernel to die
I'm finding the same thing. I tried this because quit() did not work--the program skipped right past it. I then tried exit() instead and the kernel now dies.
What's an alternative, and do you know why quit() doesn't work?
I'm working on my project, at some condition I want to stop the program. At that time, I was calling exit() function but unfortunately notebook did not exit the program. Even if the python program is working properly in python IDLE.
Expected
Notebook killed the program.
Actual
Notebook run program continuously and execute next block of statements.
The text was updated successfully, but these errors were encountered: