Jupyter Notebook1- Introduction

  • Introduced the python scientific computing distribution in front of the Anaconda and its management: using the Anaconda configuration under Linux and Windows python environment Conda | python packages and version management tool
  • Anaconda is already installed as a Jupyter Notebook by default. In this article, we introduce the basic of Jupyter Notebook. The system knows the python web version of IDE.

The notebook extends the console-based approach to interactive computing in a qualitatively new direction, providing a web-based application suitable for capturing the whole computation process: developing, documenting, and executing code, 3. As well as communicating the results: The Jupyter Notebook combines code with Markdown two components:

  • A web application: a browser-based tool for interactive authoring of documents which combine explanatory text, mathematics, computations and their rich media output.
  • Notebook documents: a representation of all content visible in the web application, including inputs and outputs of the computations, explanatory text, mathematics, images, and rich media representations of objects.

In this paper, quick reference

More good articles, welcome to pay attention to:Pythonic biological people

1. Jupyter Notebook startsMethod 1Method 2Methods 32. Change the path for opening the Jupyter NotebookPermanently modify the Jupyter Notebook default open pathTemporarily modify the Jupyter Notebook open path3. Introduction to Jupyter Notebook Home pageCreate a Powershell TerminalCreate Python3 notebook4. Introduction to Noteook pageFile- Save and loadEdit - editing a cellThe View - ViewInsert - Inserts a cellThe Cell - CellKernel- Kernel controlHelp- Help files Copy the code

1. Jupyter Notebook starts

I think the following three methods can be used to successfully start Jupyter Notebook.

  • Method 1

Open it directly through the shortcut, complete in two steps, as follows.

  • Method 2

Use the Windows key +R to open a command line window, type CMD, click OK, and enter Jupyter Notebook.

  • Methods 3

Use the Windows +R key to open the command line window, type Jupyter Notebook, and click OK:The above three methods will open the Jupyter Notebook HOME page in your HOME directory, resulting in the following results.


2. Change the path for opening the Jupyter Notebook

By default, we can open Jupyter Notebook in our home directory. In fact, we can set up the jupyter notebook in the desired location. The following two methods can be used.

  • Permanently modify the Jupyter Notebook default open path

This method permanently modifies the open path.

jupyter notebook --generate-config
Copy the code

 The above is in the catalog.jupyterNext generate a filejupyter_notebook_config.py, file storage jupyter Notebook all default configuration parameters. Modify theJupyter_notebook_config. Py of c.N otebookApp notebook_dir

  • Temporarily modify the Jupyter Notebook open path

This method only temporarily modifies the default opening path. CD to the path you want to open, type Jupyter notebook.


3. Introduction to Jupyter Notebook Home page

After the jupyter Notebook is activated, the following page is displayed

  • Create a Powershell Terminal

  • Create Python3 notebook

Select an.ipynb file and look at the Home page to add a few options.


4. Introduction to Noteook page

  • File- Save and load


  • Edit – editing a cell


  • The View – View


  • Insert – Inserts a cell


  • The Cell – Cell


  • Kernel- Kernel control


  • Help- Help files


After this article, we’ll cover more about Jupyter Notebook in the next installment. Welcome to pythonic Bioman

This article is formatted using MDNICE