The Jupyter Notebook is an open source web application that you can use to create and share documents that contain live code, equations, visualizations, and text. Jupyter Notebook is maintained by the people at Project Jupyter.

Jupyter Notebook是一个开源Web应用程序,可用于创建和共享包含实时代码,方程式,可视化效果和文本的文档。 Jupyter Notebook由Jupyter项目的人员维护 。

Jupyter Notebooks are a spin-off project from the IPython project, which used to have an IPython Notebook project itself. The name, Jupyter, comes from the core supported programming languages that it supports: Julia, Python, and R. Jupyter ships with the IPython kernel, which allows you to write your programs in Python, but there are currently over 100 other kernels that you can also use.

Jupyter Notebook是IPython项目的一个衍生项目,该项目以前曾经拥有IPython Notebook项目。 Jupyter的名称来自它支持的核心支持的编程语言:Julia,Python和R。Jupyter随IPython内核一起提供,它允许您使用Python编写程序,但是目前有100多个其他内核也可以使用。

Free Bonus: 5 Thoughts On Python Mastery, a free course for Python developers that shows you the roadmap and the mindset you’ll need to take your Python skills to the next level.

免费奖金: 关于Python精通的5个想法 ,这是针对Python开发人员的免费课程,向您展示了将Python技能提升到新水平所需的路线图和心态。

使用Jupyter Notebook启动和运行 (Getting Up and Running With Jupyter Notebook)

The Jupyter Notebook is not included with Python, so if you want to try it out, you will need to install Jupyter.

Jupyter Notebook不包含在Python中,因此,如果要尝试使用它,则需要安装Jupyter。

There are many distributions of the Python language. This article will focus on just two of them for the purposes of installing Jupyter Notebook. The most popular is CPython, which is the reference version of Python that you can get from their website. It is also assumed that you are using Python 3.

Python语言有很多发行版。 为了安装Jupyter Notebook,本文仅关注其中两个。 最受欢迎的是CPython,这是您可以从其网站上获得的Python参考版本。 还假定您正在使用Python 3

安装 (Installation)

If so, then you can use a handy tool that comes with Python called pip to install Jupyter Notebook like this:

如果是这样,则可以使用Python附带的便捷工具pip来安装Jupyter Notebook,如下所示:

 $ pip install jupyter
$ pip install jupyter

The next most popular distribution of Python is Anaconda. Anaconda has its own installer tool called conda that you could use for installing a third-party package. However, Anaconda comes with many scientific libraries preinstalled, including the Jupyter Notebook, so you don’t actually need to do anything other than install Anaconda itself.

下一个最受欢迎的Python发行版是Anaconda 。 Anaconda具有自己的名为conda的安装程序工具,可用于安装第三方程序包。 但是,Anaconda预先安装了许多科学库,包括Jupyter Notebook,因此除了安装Anaconda本身以外,您实际上不需要执行任何其他操作。

启动Jupyter Notebook服务器 (Starting the Jupyter Notebook Server)

Now that you have Jupyter installed, let’s learn how to use it. To get started, all you need to do is open up your terminal application and go to a folder of your choice. I recommend using something like your Documents folder to start out with and create a subfolder there called Notebooks or something else that is easy to remember.

现在您已经安装了Jupyter,让我们学习如何使用它。 首先,您需要做的就是打开终端应用程序,然后转到您选择的文件夹。 我建议使用“文档”文件夹之类的东西开始并在其中创建一个名为“笔记本”的子文件夹或其他易于记忆的东西。

Then just go to that location in your terminal and run the following command:

然后只需转到终端中的该位置并运行以下命令:

This will start up Jupyter and your default browser should start (or open a new tab) to the following URL: http://localhost:8888/tree

这将启动Jupyter,您的默认浏览器应启动(或打开一个新选项卡)以下URL: http:// localhost:8888 / tree

Your browser should now look something like this:

您的浏览器现在应如下所示:

Note that right now you are not actually running a Notebook, but instead you are just running the Notebook server. Let’s actually create a Notebook now!

请注意,现在您实际上并没有在运行Notebook,而是仅在运行Notebook服务器。 现在让我们实际创建一个Notebook!

创建笔记本 (Creating a Notebook)

Now that you know how to start a Notebook server, you should probably learn how to create an actually Notebook document.

既然您知道如何启动Notebook服务器,那么您可能应该学习如何创建实际的Notebook文档。

All you need to do is click on the New button (upper right), and it will open up a list of choices. On my machine, I happen to have Python 2 and Python 3 installed, so I can create a Notebook that uses either of these. For simplicity’s sake, let’s choose Python 3.

您需要做的就是单击“新建”按钮(右上角),它将打开一个选择列表。 在我的机器上,我碰巧安装了Python 2和Python 3,因此我可以创建一个使用这两个笔记本的笔记本。 为了简单起见,让我们选择Python 3。

Your web page should now look like this:

您的网页现在应如下所示:

命名 (Naming)

You will notice that at the top of the page is the word Untitled. This is the title for the page and the name of your Notebook. Since that isn’t a very descriptive name, let’s change it!

您会注意到页面顶部是“无标题”一词。 这是页面的标题和笔记本的名称。 由于这不是一个非常具有描述性的名称,因此让我们对其进行更改!

Just move your mouse over the word Untitled and click on the text. You should now see an in-browser dialog titled Rename Notebook. Let’s rename this one to Hello Jupyter:

只需将鼠标移到“无标题”一词上,然后单击文本。 现在,您应该看到一个浏览器内对话框,名为“重命名笔记本”。 让我们将其重命名为Hello Jupyter:

运行细胞 (Running Cells)

A Notebook’s cell defaults to using code whenever you first create one, and that cell uses the kernel that you chose when you started your Notebook.

每次创建笔记本时,笔记本的单元默认使用代码,并且该单元使用启动笔记本时选择的内核。

In this case, you started yours with Python 3 as your kernel, so that means you can write Python code in your code cells. Since your initial Notebook has only one empty cell in it, the Notebook can’t really do anything.

在这种情况下,您以Python 3作为内核启动了它,因此这意味着您可以在代码单元中编写Python代码。 由于最初的笔记本电脑中只有一个空单元格,因此笔记本电脑实际上无法执行任何操作。

Thus, to verify that everything is working as it should, you can add some Python code to the cell and try running its contents.

因此,要验证一切正常,可以向该单元格添加一些Python代码,然后尝试运行其内容。

Let’s try adding the following code to that cell:

让我们尝试将以下代码添加到该单元格:

 printprint (( 'Hello Jupyter!''Hello Jupyter!' )
)

Running a cell means that you will execute the cell’s contents. To execute a cell, you can just select the cell and click the Run button that is in the row of buttons along the top. It’s towards the middle. If you prefer using your keyboard, you can just press Shift+Enter.

运行单元意味着您将执行单元的内容。 要执行一个单元,只需选择该单元并单击顶部按钮行中的“运行”按钮即可。 在中间。 如果您更喜欢使用键盘,则只需按Shift + Enter即可 。

When I ran the code above, the output looked like this:

当我运行上面的代码时,输​​出如下所示:

If you have multiple cells in your Notebook, and you run the cells in order, you can share your variables and imports across cells. This makes it easy to separate out your code into logical chunks without needing to reimport libraries or recreate variables or functions in every cell.

如果笔记本中有多个单元格,并且按顺序运行这些单元格,则可以共享变量并跨单元格导入。 这使您很容易将代码分成逻辑块,而无需重新导入库或在每个单元格中重新创建变量或函数。

When you run a cell, you will notice that there are some square braces next to the word In to the left of the cell. The square braces will auto fill with a number that indicates the order that you ran the cells. For example, if you open a fresh Notebook and run the first cell at the top of the Notebook, the square braces will fill with the number 1.

运行单元格时,您会注意到,单元格左侧的单词In旁边有一些方括号。 方括号将自动填充一个数字,该数字指示您运行单元格的顺序。 例如,如果您打开一个新的笔记本并在笔记本顶部运行第一个单元格,则方括号将填充数字1。

菜单 (The Menus)

The Jupyter Notebook has several menus that you can use to interact with your Notebook. The menu runs along the top of the Notebook just like menus do in other applications. Here is a list of the current menus:

Jupyter Notebook有几个菜单,可用于与Notebook交互。 菜单沿着笔记本的顶部运行,就像其他应用程序中的菜单一样。 这是当前菜单的列表:

  • File
  • Edit
  • View
  • Insert
  • Cell
  • Kernel
  • Widgets
  • Help
  • 文件
  • 编辑
  • 视图
  • 细胞
  • 核心
  • 小部件
  • 救命

Let’s go over the menus one by one. This article won’t go into detail for every single option in every menu, but it will focus on the items that are unique to the Notebook application.

让我们一一浏览菜单。 本文不会对每个菜单中的每个选项进行详细介绍,但将重点介绍Notebook应用程序特有的项目。

The first menu is the File menu. In it, you can create a new Notebook or open a preexisting one. This is also where you would go to rename a Notebook. I think the most interesting menu item is the Save and Checkpoint option. This allows you to create checkpoints that you can roll back to if you need to.

第一个菜单是“文件”菜单。 在其中,您可以创建一个新的笔记本或打开一个预先存在的笔记本。 这也是您要重命名笔记本的地方。 我认为最有趣的菜单项是“保存和检查点”选项。 这使您可以创建检查点,如果需要可以将其回滚。

Next is the Edit menu. Here you can cut, copy, and paste cells. This is also where you would go if you wanted to delete, split, or merge a cell. You can reorder cells here too.

接下来是“编辑”菜单。 您可以在此处剪切,复制和粘贴单元格。 如果要删除,拆分或合并单元格,也可以在这里进行。 您也可以在此处重新排序单元格。

Note that some of the items in this menu are greyed out. The reason for this is that they do not apply to the currently selected cell. For example, a code cell cannot have an image inserted into it, but a Markdown cell can. If you see a greyed out menu item, try changing the cell’s type and see if the item becomes available to use.

请注意,此菜单中的某些项目为灰色。 这样做的原因是它们不适用于当前选定的单元格。 例如,代码单元不能插入图像,但Markdown单元可以插入图像。 如果看到灰色的菜单项,请尝试更改单元格的类型,然后查看该菜单项是否可供使用。

The View menu is useful for toggling the visibility of the header and toolbar. You can also toggle Line Numbers within cells on or off. This is also where you would go if you want to mess about with the cell’s toolbar.

“查看”菜单对于切换标题和工具栏的可见性很有用。 您也可以打开或关闭单元格内的行号。 如果要弄乱单元格的工具栏,这也是您要去的地方。

The Insert menu is just for inserting cells above or below the currently selected cell.

插入菜单仅用于在当前选定的单元格上方或下方插入单元格。

The Cell menu allows you to run one cell, a group of cells, or all the cells. You can also go here to change a cell’s type, although I personally find the toolbar to be more intuitive for that.

“单元格”菜单允许您运行一个单元格,一组单元格或所有单元格。 您也可以转到此处更改单元格的类型,尽管我个人认为工具栏对此更直观。

The other handy feature in this menu is the ability to clear a cell’s output. If you are planning to share your Notebook with others, you will probably want to clear the output first so that the next person can run the cells themselves.

此菜单中的另一个方便功能是清除单元格输出的功能。 如果您打算与他人共享笔记本,则可能需要先清除输出,以便下一个人可以自己运行单元。

The Kernel cell is for working with the kernel that is running in the background. Here you can restart the kernel, reconnect to it, shut it down, or even change which kernel your Notebook is using.

内核单元用于处理在后台运行的内核。 在这里,您可以重新启动内核,重新连接,关闭它,甚至可以更改笔记本计算机正在使用的内核。

You probably won’t be working with the Kernel all that often, but there are times when you are debugging a Notebook that you will find you need to restart the Kernel. When that happens, this is where you would go.

您可能不会经常使用内核,但是有时在调试笔记本时会发现需要重新启动内核。 发生这种情况时,这就是您要去的地方。

The Widgets menu is for saving and clearing widget state. Widgets are basically JavaScript widgets that you can add to your cells to make dynamic content using Python (or another Kernel).

窗口小部件菜单用于保存和清除窗口小部件状态。 窗口小部件基本上是JavaScript窗口小部件,您可以将其添加到单元格中以使用Python(或其他内核)制作动态内容。

Finally you have the Help menu, which is where you go to learn about the Notebook’s keyboard shortcuts, a user interface tour, and lots of reference material.

最后,您将获得“帮助”菜单,在这里可以了解笔记本电脑的键盘快捷键,用户界面介绍以及大量参考资料。

启动终端和其他东西 (Starting Terminals and Other Things)

Jupyter Notebook also allows you to start more than just Notebooks. You can also create a text file, a folder, or a Terminal in your browser. Go back to the home page that opened when you first started the Jupyter server at http://localhost:8888/tree. Go to the New button and choose one of the other options.

Jupyter Notebook还使您不仅可以启动Notebook。 您也可以在浏览器中创建文本文件,文件夹或终端。 返回到首次启动Jupyter服务器时打开的主页, http://localhost:8888/treehttp://localhost:8888/tree 。 转到“新建”按钮,然后选择其他选项之一。

The Terminal is probably the most interesting of the bunch, as it is running your operating systems terminal in the browser. This allows you to run bash, Powershell, and so on in your browser and run any shell command that you might need to there.

终端可能是最有趣的终端,因为它正在浏览器中运行您的操作系统终端。 这使您可以在浏览器中运行bash,Powershell等,并在其中运行您可能需要的任何shell命令。

查看正在运行的内容 (Viewing What’s Running)

Also on the home page of your Jupyter server (http://localhost:8888/tree) are two other tabs: Running and Clusters.

另外,在Jupyter服务器的主页( http://localhost:8888/tree )上还有另外两个选项卡:“运行”和“群集”。

The Running tab will tell you which Notebooks and Terminals you are currently running. This is useful for when you want to shut down your server but you need to make sure that you have saved all your data. Fortunately, Notebooks auto-save pretty frequently, so you rarely lose data. But it’s good to be able to see what’s running when you need to.

“运行”选项卡将告诉您当前正在运行的笔记本电脑和终端机。 当您要关闭服务器但需要确保已保存所有数据时,此功能很有用。 幸运的是,笔记本电脑非常频繁地自动保存,因此您很少丢失数据。 但是,能够在需要时看到正在运行的东西是很好的。

The other nice thing about this tab is that you can go through your running applications and shut them down there.

此选项卡的另一个好处是,您可以浏览正在运行的应用程序并将其关闭。

添加丰富的内容 (Adding Rich Content)

Jupyter Notebook supports adding rich content to its cells. In this section, you will get an overview of just some of the things you can do with your cells using Markup and Code.

Jupyter Notebook支持在其单元格中添加丰富的内容。 在本节中,您将概述使用标记和代码可以对单元进行的一些操作。

单元格类型 (Cell Types)

There are technically four cell types: Code, Markdown, Raw NBConvert, and Heading.

从技术上讲,共有四种单元格类型:代码,降价,原始NBConvert和标题。

The Heading cell type is no longer supported and will display a dialog that says as much. Instead, you are supposed to use Markdown for your Headings.

标题单元格类型不再受支持,并会显示一个对话框,说明内容。 相反,您应该将Markdown用作标题。

The Raw NBConvert cell type is only intended for special use cases when using the nbconvert command line tool. Basically it allows you to control the formatting in a very specific way when converting from a Notebook to another format.

Raw NBConvert单元格类型仅在使用nbconvert命令行工具时用于特殊情况。 从笔记本基本上转换为另一种格式时,它允许您以非常特定的方式控制格式。

The primary cell types that you will use are the Code and Markdown cell types. You have already learned how code cells work, so let’s learn how to style your text with Markdown.

您将使用的主要单元格类型是Code和Markdown单元格类型。 您已经学习了代码单元的工作方式,因此让我们学习如何使用Markdown设置文本样式。

样式文字 (Styling Your Text)

Jupyter Notebook supports Markdown, which is a markup language that is a superset of HTML. This turotial will cover some of the basics of what you can do with Markdown.

Jupyter Notebook支持Markdown,Markdown是一种标记语言,是HTML的超集。 本教程将介绍您可以使用Markdown进行的一些基本操作。

Set a new cell to Markdown and then add the following text to the cell:

将新单元格设置为Markdown,然后将以下文本添加到该单元格:

When you run the cell, the output should look like this:

运行单元格时,输出应如下所示:

If you would prefer to bold your text, use a double underscore or double asterisk.

如果您希望将文本加粗,请使用双下划线或双星号。

标头 (Headers)

Creating headers in Markdown is also quite simple. You just have to use the humble pound sign. The more pound signs you use, the smaller the header. Jupyter Notebook even kind of previews it for you:

在Markdown中创建标题也很简单。 您只需要使用不起眼的英镑符号。 您使用的磅符号越多,标题越小。 Jupyter Notebook甚至可以为您预览:

Then when you run the cell, you will end up with a nicely formatted header:

然后,当您运行单元格时,您将得到一个格式正确的标题:

建立清单 (Creating Lists)

You can create a list (bullet points) by using dashes, plus signs, or asterisks. Here is an example:

您可以使用破折号,加号或星号来创建列表(项目符号)。 这是一个例子:

代码和语法突出显示 (Code and Syntax Highlighting)

If you want to insert a code example that you don’t want your end user to actually run, you can use Markdown to insert it. For inline code highlighting, just surround the code with backticks. If you want to insert a block of code, you can use triple backticks and also specify the programming language:

如果要插入不希望最终用户实际运行的代码示例,则可以使用Markdown插入它。 对于内联代码突出显示,只需在代码两边加上反引号即可。 如果要插入代码块,则可以使用三个反引号,也可以指定编程语言:

导出笔记本 (Exporting Notebooks)

When you are working with Jupyter Notebooks, you will find that you need to share your results with non-technical people. When that happens, you can use the nbconvert tool which comes with Jupyter Notebook to convert or export your Notebook into one of the following formats:

当使用Jupyter Notebooks时,您会发现需要与非技术人员共享结果。 发生这种情况时,您可以使用Jupyter Notebook随附的nbconvert工具将Notebook转换或导出为以下格式之一:

  • HTML
  • LaTeX
  • PDF
  • RevealJS
  • Markdown
  • ReStructured Text
  • Executable script
  • HTML
  • 胶乳
  • PDF格式
  • 揭示JS
  • 降价促销
  • 重组文字
  • 可执行脚本

The nbconvert tool uses Jinja templates under the covers to convert your Notebook files (.ipynb) into these other formats.

nbconvert工具使用封面下的Jinja模板将Notebook文件( .ipynb )转换为其他格式。

Jinja is a template engine that was made for Python. Also note that nbconvert also depends on Pandoc and TeX to be able to export to all the formats above. If you don’t have one or more of these, some of the export types may not work. For more information, you should check out the documentation.

Jinja是为Python制作的模板引擎。 还要注意, nbconvert还依赖于Pandoc和TeX能够导出为以上所有格式。 如果您没有其中的一个或多个,则某些导出类型可能不起作用。 有关更多信息,您应该查阅文档 。

如何使用nbconvert (How to Use nbconvert)

The nbconvert command does not take very many parameters, which makes learning how to use it easier. Open up a terminal and navigate to the folder that contains the Notebook you wish to convert. The basic conversion command looks like this:

nbconvert命令不需要很多参数,这使学习如何使用它变得更加容易。 打开终端,然后导航到包含要转换的笔记本的文件夹。 基本的转换命令如下所示:

用法示例 (Example Usage)

Let’s pretend that you have a Notebook named py_examples.ipynb and you want to convert it to PDF. Here is the command you would use to do that:

假设您有一个名为py_examples.ipynb的Notebook,并且要将其转换为PDF。 这是用于执行此操作的命令:

 $ jupyter nbconvert py_examples.ipynb –to pdf
$ jupyter nbconvert py_examples.ipynb –to pdf

When you run this command, you should see some output that tells you about the conversion process. nbconvert will display warnings and errors if there are any. Assuming everything goes according to plan, you will now have a py_examples.pdf file in your folder.

运行此命令时,应该看到一些输出,告诉您有关转换过程的信息。 如果有, nbconvert将显示警告和错误。 假设一切都按计划进行,那么您的文件夹中现在将有一个py_examples.pdf文件。

The conversion process for the other file types is quite similar. You just have to tell nbconvert what type to convert to (PDF, Markdown, HTML, and so on).

其他文件类型的转换过程非常相似。 您只需要告诉nbconvert要转换为哪种类型(PDF,Markdown,HTML等)。

使用菜单 (Use the Menu)

You can also export your currently running Notebook by going to the File menu and choosing the Download as option.

您还可以通过转到“文件”菜单并选择“下载为”选项来导出当前正在运行的Notebook。

This option allows you to download in all the formats that nbconvert supports. The benefit of using the menu is that you don’t need to learn the nbconvert at all if you don’t want to. However I recommend doing so as you can use nbconvert to export multiple Notebooks at once, which is something that the menu does not support.

此选项允许您以nbconvert支持的所有格式下载。 使用菜单的好处是,如果您不需要,根本不需要学习nbconvert 。 但是,我建议您这样做,因为您可以使用nbconvert一次导出多个笔记本,而菜单不支持该功能。

笔记本扩展 (Notebook Extensions)

While Jupyter Notebooks have lots of functionality built in, you can add new functionality through extensions. Jupyter actually supports four types of extensions:

尽管Jupyter Notebook具有许多内置功能,但您可以通过扩展添加新功能。 Jupyter实际上支持四种类型的扩展:

  • Kernel
  • IPython kernel
  • Notebook
  • Notebook server
  • 核心
  • IPython内核
  • 笔记本
  • 笔记本服务器

This tutorial will focus on Notebook extensions.

本教程将重点介绍Notebook扩展。

什么是扩展? (What Are Extensions?)

A Notebook extension (nbextension) is a JavaScript module that you load in most of the views in the Notebook’s frontend. If you are handy with JavaScript, you can even write your own extension. An extension can access the page’s DOM and the Jupyter JavaScript API.

笔记本扩展名( nbextension )是一个JavaScript模块,您可以在笔记本前端的大多数视图中加载该模块。 如果您方便使用JavaScript,甚至可以编写自己的扩展名。 扩展程序可以访问页面的DOM和Jupyter JavaScript API。

在哪里可以获得扩展? (Where Do I Get Extensions?)

You can use Google or search for Jupyter Notebook extensions. There are actually quite a few out there. One of the most popular extension sets is called jupyter_contrib_nbextensions, which you can get from GitHub. This is actually a collection of extensions that is provided by the Jupyter community and installed with pip.

您可以使用Google或搜索Jupyter Notebook扩展。 实际上那里有很多。 最受欢迎的扩展集之一是jupyter_contrib_nbextensions ,您可以从GitHub获得。 这实际上是Jupyter社区提供的扩展集合,并与pip安装。

如何安装它们? (How Do I Install Them?)

Most Jupyter Notebook extensions can be installed using Python’s pip tool. If you find an extension that can’t be installed with pip, then you will likely have to use the following command:

大多数Jupyter Notebook扩展都可以使用Python的pip工具安装。 如果找到无法与pip一起安装的扩展程序,则可能必须使用以下命令:

This only installs the extension but does not make it active. You will need to enable an extension after installing it by running the following:

这只会安装扩展程序,而不会使其活动。 安装扩展程序后,需要运行以下命令来启用扩展程序:

 $ jupyter nbextension $ jupyter nbextension enable EXTENSION_NAME
enable EXTENSION_NAME

You may need to restart your Jupyter Notebook kernel to see the extension.

您可能需要重新启动Jupyter Notebook内核才能查看扩展。

There is a nice meta extension called Jupyter NbExtensions Configurator that is worth getting for managing other extensions. It allows you to enable and disable your extensions from within the Jupyter Notebook’s user interface and also shows all the currently installed extensions.

有一个名为Jupyter NbExtensions Configurator的不错的元扩展,值得管理其他扩展。 它允许您从Jupyter Notebook的用户界面中启用和禁用扩展程序,并显示所有当前安装的扩展程序。

结论 (Conclusion)

The Jupyter Notebook is quite useful not only for learning and teaching a programming language such as Python but also for sharing your data.

Jupyter Notebook不仅在学习和教授Python之类的编程语言方面非常有用,而且在共享数据方面也非常有用。

You can turn your Notebook into a slideshow or share it online with GitHub. If you want to share a Notebook without requiring your users to install anything, you can use binder for that.

您可以将Notebook转换成幻灯片,也可以与GitHub在线共享。 如果要共享笔记本而不需要用户安装任何东西,则可以使用活页夹 。

Google and Microsoft both have their own version of the Notebook that you can use to create and share your Notebooks at Google Colaboratory and Microsoft Azure Notebooks respectively. You can browse really interesting Notebooks there as well.

Google和Microsoft都有自己的笔记本电脑版本,分别可用于在Google Colaboratory和Microsoft Azure笔记本电脑上创建和共享笔记本电脑 。 您也可以在那里浏览真正有趣的笔记本。

Project Jupyter recently launched their latest product, JupyterLab. JupyterLab incorporates Jupyter Notebook into an Integrated Development type Editor that you run in your browser. You can kind of think of JupyterLab as an advanced version of Jupyter Notebook. JupyterLab allows you to run terminals, text editors and code consoles in your browser in addition to Notebooks.

Jupyter项目最近推出了他们的最新产品JupyterLab 。 JupyterLab将Jupyter Notebook集成到您在浏览器中运行的集成开发类型编辑器中。 您可以将JupyterLab视为Jupyter Notebook的高级版本。 JupyterLab允许您在笔记本电脑之外的浏览器中运行终端,文本编辑器和代码控制台。

As always, it is best to try out a new piece of software yourself to see if it suits you and is worth using. I encourage you to give Jupyter Notebook or JupyterLab a spin and see what you think!

与往常一样,最好自己尝试一款新软件,看看它是否适合您并且值得使用。 我鼓励您试用Jupyter Notebook或JupyterLab,看看您的想法!

进一步阅读 (Further Reading)

If you want to learn more about Jupyter Notebook, you can take a moment and read their excellent documentation.

如果您想了解有关Jupyter Notebook的更多信息,可以花一些时间阅读其出色的文档 。

For more information on Integrated Development Environments, you might want to check out the following articles:

有关集成开发环境的更多信息,您可能需要查看以下文章:

  • Python IDEs and Code Editors (Guide)
  • Thonny: The Beginner-Friendly Python Editor
  • Python IDE和代码编辑器(指南)
  • Thonny:适合初学者的Python编辑器

翻译自: https://www.pybloggers.com/2019/01/jupyter-notebook-an-introduction/

Jupyter Notebook:简介相关推荐

  1. IDE之Jupyter:交互式文档Jupyter Notebook简介、安装、使用方法详细攻略

    IDE之Jupyter:交互式文档Jupyter Notebook简介.安装.使用方法详细攻略 目录 Jupyter Notebook简介 Jupyter Notebook安装 第一步,安装软件 第二 ...

  2. Jupyter Notebook简介及默认路径修改

    Jupyter Notebook简介 Jupyter Notebook简介 一.Jupyter Notebook说明 1.1 启动方式 1.2 界面说明 1)主界面 2)Notebook界面 1.单击 ...

  3. Jupyter Notebook简介、安装及使用教程

    一.什么是Jupyter Notebook? 1. 简介 Jupyter Notebook是基于网页的用于交互计算的应用程序.其可被应用于全过程计算:开发.文档编写.运行代码和展示结果.--Jupyt ...

  4. 投入Anaconda的怀抱,Anaconda及Jupyter Notebook简介

    Anaconda Jupyter Notebook

  5. udacity深度学习--2. 深度学习简介--LESSON5 Jupyter notebook

    文章目录 Jupyter notebook简介 notebook 如何工作 安装 Jupyter notebook 启动 notebook 服务器 增加"Conda"选项卡 关闭 ...

  6. Python环境的安装(Anaconda+Jupyter notebook+Pycharm)

    点击上方"小白学视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达 本文总结了Windows下Python环境的安装,包括Anacon ...

  7. Windows10 环境下Jupyter Notebook的安装与使用

    一.Jupyter Notebook 简介(百度百科) Jupyter Notebook 的本质是一个 Web 应用程序,便于创建和共享文学化程序文档,支持实时代码,数学方程,可视化和 markdow ...

  8. jupyter notebook 安装教程

    目录 一.jupyter notebook 简介 二.安装jupyter notebook ​ 三.启动jupyter notebook 一.jupyter notebook 简介 Jupyter N ...

  9. 利用 Python 进行数据分析 (一):IPython 及 Jupyter notebook

    本文为<利用 Python 进行数据分析>的读书笔记 目录 IPython 与 Jupyter notebook 简介 IPython 基础 使用 IPython 命令行 运行 Jupyt ...

  10. Jupyter Notebook 的安装与使用

    目录 1.jupyter Notebook 简介 2.jupyter Notebook 的安装 安装前提 pip 安装 pip 源 3.设置jupyter notebook 设置代码文件存放目录 Ta ...

最新文章

  1. Testing AJAX Applications with VSTS 2008
  2. 01.The Introduction of Linux
  3. 计算机应用基础第二版在线作业c,计算机应用基础作业二(答案)
  4. dijkstra标号法表格_标号法求最短路径例题详解.ppt
  5. swoole 自定义eof 标记 带返回信息(自己修改)和 不带返回信息的原本demo
  6. 7.王道考研数据结构-队列
  7. 实话实说?基金公司“存量时代”的创新
  8. 淘宝镜像(浏览器驱动等等等)
  9. Java实现文件管理系统(附带源码)
  10. 北斗卫星与GPS介绍
  11. godaddy构建ddns服务
  12. 数据库应用——Atlas代理MySQL集群实现读写分离
  13. Linux C 编程内存泄露检测工具(二):memwatch
  14. 万维网互联网计算机网络的区别,互联网和万维网之间有什么区别
  15. Windows Installer:正在安装其他程序。请等待该安装完成,然后再次尝试安装此软件
  16. 从华为起诉三星 看中国知识产权建设
  17. 分数类中的运算符重载(续)
  18. 使用Qt二次开发周立功CAN(一)
  19. 云游三晋,中机助力|中机智库
  20. 【Java基础学习】

热门文章

  1. 永恒之塔修改服务器,永恒之塔改注册表提速的方法
  2. Spring之旅(四):两个小知识 lazy-initiated bean 和 Autowiring Collaborators
  3. 大型互联网分布式系统架构技术要点
  4. 10分钟拿下 HashMap
  5. IOC容器加载过程及Bean的生命周期和后置处理器
  6. RRC Measurement -- GAP
  7. 【自撰】Windows | Linux 安装 RabbitMQ
  8. 5Ghz/5.8Ghz 小尺寸SMD贴片天线方案 支持WIFI5G、5.8G无线图传、C-V2X等
  9. 在html中超级链接路径分几类,按照链接的形式网页中超级链接可以分为那3种
  10. PostgreSQL安装(Mac)