Files
cheatsheet-tldr/tldr/jupyter
2026-01-01 00:25:00 +00:00

39 lines
945 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# jupyter
> Web application to create and share documents that contain code, visualizations, and notes.
> Primarily used for data analysis, scientific computing, and machine learning.
> More information: <https://docs.jupyter.org/en/latest/use/jupyter-command.html>.
- Start a Jupyter notebook server in the current directory:
`jupyter notebook`
- Open a specific Jupyter notebook:
`jupyter notebook {{path/to/file}}.ipynb`
- Export a specific Jupyter notebook into another format:
`jupyter nbconvert --to {{html|markdown|pdf|script|...}} {{path/to/file}}.ipynb`
- Start a server on a specific port:
`jupyter notebook --port {{port}}`
- List currently running notebook servers:
`jupyter notebook list`
- Stop the currently running server:
`jupyter notebook stop`
- Start JupyterLab, if installed, in the current directory:
`jupyter lab`