Jupyter notebook installation and use

高洛峰
Release: 2017-02-13 17:14:02
Original
3159 people have browsed it
  • Jupyter Notebook (previously known as IPython notebook) is an interactive notebook that supports running more than 40 programming languages.

  • Install

    • ##Install python 3

    • pip installation

      pip3 install --upgrade pip

      pip3 install jupyter

  • Run

    • jupyter notebook starts, it will open by default http://localhost:8888/, visit User directory

      Jupyter notebook安装与使用

      How to customize the port?

      jupyter notebook --port 9999

    • Nootbook dashboard

      Jupyter notebook安装与使用

  • Note operation

    • ##Open an existing note

      For example, open the

      CS231 course notes shared by netizens, https://github.com/zlotus/cs231n

      download the zip package, Unzip it to the user directory, refresh the dashboard and you will see

      Jupyter notebook安装与使用 .ipynb

      is the saved note, click to open, enjoy it!

      Jupyter notebook安装与使用

    • Running Instance Management

      Jupyter notebook安装与使用

      In running You can view the running instance, you can shutdown

    • New note

      Click Python 3 in the new menu You can create a note

      Jupyter notebook安装与使用

    • Insert code

      Jupyter notebook安装与使用

    • Run the code

      Jupyter notebook安装与使用

    • Add text segment

      Click Add (+) and select the type as markdown

      Jupyter notebook安装与使用

    • Save

      CTRL+S Or click the save button to save

      Jupyter notebook安装与使用

    • Name

      Click on the title and the rename box will pop up

      Jupyter notebook安装与使用

For more Jupyter notebook installation and use related articles, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template