|
4 | 4 | "cell_type": "markdown",
|
5 | 5 | "metadata": {},
|
6 | 6 | "source": [
|
7 |
| - "# How IPython works\n", |
| 7 | + "# How Jupyter works\n", |
8 | 8 | "\n",
|
9 | 9 | "\n",
|
10 |
| - "## Terminal IPython\n", |
| 10 | + "## ...But first, Terminal IPython\n", |
11 | 11 | "\n",
|
12 | 12 | "When you type `ipython`, you get the original IPython interface, running in\n",
|
13 | 13 | "the terminal. It does something like this:\n",
|
|
19 | 19 | "```\n",
|
20 | 20 | "\n",
|
21 | 21 | "Of course, it's much more complex, because it has to deal with multi-line\n",
|
22 |
| - "code, tab completion using `readline`, magic commands, and so on. But the\n", |
| 22 | + "code, tab completion using `readline` or `prompt-toolkit`, magic commands, and so on. But the\n", |
23 | 23 | "model is like that: prompt the user for some code, and when they've entered it,\n",
|
24 | 24 | "exec it in the same process. This model is often called a REPL, or\n",
|
25 | 25 | "Read-Eval-Print-Loop."
|
|
29 | 29 | "cell_type": "markdown",
|
30 | 30 | "metadata": {},
|
31 | 31 | "source": [
|
32 |
| - "## The IPython Kernel\n", |
| 32 | + "## Jupyter and The IPython Kernel\n", |
33 | 33 | "\n",
|
34 |
| - "All the other interfaces—the Notebook, the Qt console, `ipython console` in\n", |
| 34 | + "Jupyter expands on this REPL model and provides other interfaces to running code–the notebook, the Qt console, `jupyter console` in\n", |
35 | 35 | "the terminal, and third party interfaces—use the IPython Kernel. This is a\n",
|
36 | 36 | "separate process which is responsible for running user code, and things like\n",
|
37 | 37 | "computing possible completions. Frontends communicate with it using JSON\n",
|
38 | 38 | "messages sent over [ZeroMQ](http://zeromq.org/) sockets; the protocol they use is described in\n",
|
39 |
| - ":doc:`messaging`.\n", |
| 39 | + "[the jupyter protocol](https://jupyter-client.readthedocs.io/en/stable/messaging.html).\n", |
40 | 40 | "\n",
|
41 | 41 | "The core execution machinery for the kernel is shared with terminal IPython:\n",
|
42 | 42 | "\n",
|
|
213 | 213 | "name": "python",
|
214 | 214 | "nbconvert_exporter": "python",
|
215 | 215 | "pygments_lexer": "ipython3",
|
216 |
| - "version": "3.6.0" |
| 216 | + "version": "3.6.3" |
217 | 217 | }
|
218 | 218 | },
|
219 | 219 | "nbformat": 4,
|
|
0 commit comments