> For the complete documentation index, see [llms.txt](https://nining.website/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nining.website/python/spider/jupyter-notebook.md).

# Jupyter Notebook

Jupyter Notebook是基于网页的用于交互计算的应用程序，可用于编码，文档编写，运行代码和展示结果

```bash
python -m pip install --upgrade pip
python -m pip install jupyter
jupyter notebook
```

### 基本使用

* 后缀名.ipynb
* In \[ ] 称为一个 cell  常用类型Code Markdown

```
# 常用快捷键
a: 向下插入一个cell
b: 向上插入一个cell
m: 将cell的类型切换为markdown类型
y: 将cell的类型切换为code类型
shift+enter: 执行cell
shift+tab: help文档
```
