2

I want to restart kernel in command line in Python jupternotebook and this code works well Restart ipython Kernel with a command from a cell

import os
os._exit(00)

However, there is a pop up message like this which I need to click -

enter image description here

Is there a code to avoid this manual code for clicking?

Santoo
  • 355
  • 2
  • 10

0 Answers0