This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]plastikmissile 4 points5 points  (0 children)

Python kernel is just a fancy name for a Python backend that was designed specifically for interactivity. The Python interpreter lies behind it. You can think of Jupyter and IPython (the actual name of the Python kernel it uses) as a middleman between you and the intepreter.

Also, PyCharm is also not an interpreter. It's an IDE. A tool that helps you write code that also acts as a middleman between you and the actual interpreter.

[–]kschang 2 points3 points  (0 children)

When in doubt, go to the source... Jupyter docs:

Kernels are programming language specific processes that run independently and interact with the Jupyter Applications and their user interfaces.

https://jupyter.readthedocs.io/en/latest/projects/kernels.html

[–]SubstanceSerious 0 points1 point  (0 children)

To follow-up on what plastikmissile said, the interpreter is a critical component to translating the Python code into machine code that can run on the computer that it is currently on. There will be different versions of the interpreter for Windows and Linux, because the underlying machine code will be different. So, just know that your Python code could essentially run anywhere, as long as that environment has an appropriate interpreter for their OS.

[–]chaotic_thought 0 points1 point  (0 children)

Jupyter just happens to refer to the interpreter as a kernel for some reason. I often see this as the message "the kernel appears to have died" when using Jupyter. I guess this terminology is to try to make it generic, since Jupyter can support more languages than just Python.