@ the Author: By Runsen

Last time I taught you to build Jupyter and learn some conda commands. If you are new and Jupyter can’t use it, then I will teach you to plate her.

1. Official documents

So once you’ve got Anaconda installed, you should see all of these things, but there’s also a spider that I removed, so if you have Pycharm, you can get rid of spider. Deeplearn = jupyter = jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter = Jupyter

Let’s click on the Navigator and wait for the image below.

We choose Learning and click on Jupyter to see the documents. Everyone is learning to be like this, first go to the official documents.

Here comes the browser: jupyter.org/documentati…

Then, we click on jupyter Notebook

Came to the official documentation: jupyter – notebook. Readthedocs. IO/en/stable /

I suggest you install Chrome and translate simplified Chinese directly.

It is suggested to stay here for ten minutes, we look at the official documents of Jupyter again, and then continue to look at the following.

Create a Jupter notebook

Below, we really began to learn Jupyter, I do not want to copy official documents, put their own experience out.

This page is the default page that opens after startup. We can see the existing files under the current directory, you can view the existing jupyter files (gray indicates not running, green indicates running), you can click to view the content of the subdirectory, jupyter is accessed by default is port 8888

To create a Jupter notebook, click New on the right and select Python3. Python3 will create an unnamed notebook File in the New page. Text File will create an unnamed TXT File in the New page. Selecting Folder will create an unnamed Folder on the current page, and selecting Terminal will create Terminal on the new page.

So here’s what’s new

Rename directly click on the file name can be.

You can check on the left to rename, move or delete folders, copy, rename, move, edit and delete files.

If the background is deleted, then you will not be able to access your jupyter.

3, Notebook use

Let’s learn how to use a Notebook

Now click on the Notebook Help in Help to get to the official tutorial, which I recommend you take a look at.

The official tutorial page

4. Edit mode

Each cell has two modes: command mode and edit mode.

As shown in the figure below: The blue bar on the left is command mode, and the green bar is edit mode (in this case, there is a cursor in the cell and code can be written). In command mode, press Enter or mouse click the code box to enter edit mode. In edit mode, press ESC or click the area to the left of the code box to enter command mode.

In Edit mode, hold Down SHIFT+ENTER to run the code.

5. Command mode

Command mode is to use Markdown.

In command mode, you can hold down the following key to achieve the following effect.

  • Press A to add A blank cell

  • Press B to add a blank cell down

  • Press D twice (DD) to delete the cell

  • Press X: Clip the cell

  • Press V to paste the cell

  • Press L to turn on and off line numbers

  • Press M to enter Markdown mode

  • Press Y: to exit Markdown mode and return to code editing mode

When entering Markdown mode, the In [] on the left side of the cell will disappear

6

I’ll just bring you Markdown from CSDN.

Here are some common shortcuts

Table of contents, title, and text styles

I think you should just blog and read the CSDN help.

6. Latex mathematical formulas

Latex. I don’t want to write it. Just read my previous article

So mom doesn’t have to worry that I can’t write a paper anymore

7. Notebook tricks

This is a nice article summarizing 27 Notebook tips and links to liuchengxu.org/pelican-blo…

8. Save the file

Our new name is IPynb, and the reason WHY I like Jupyter is that we can save many types of files, such as PDF, HTML, Markdowm, latex.

9. How to restore it if it is deleted by mistake

Simply type “history” into a cell to display the history code (if you’ve run it, it won’t be printed otherwise).

10, the big moves

I’ve left the big tip for last, which is what if you encounter modules that don’t work

What if you don’t know the code?

GitHub, portal ~, GitHub, portal ~, GitHub, Portal ~