2025-03-14 21:59:59 -06:00
|
|
|
# jupyter
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
> 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>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start a Jupyter notebook server in the current directory:
|
|
|
|
|
|
|
|
|
|
`jupyter notebook`
|
|
|
|
|
|
|
|
|
|
- Open a specific Jupyter notebook:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`jupyter notebook {{path/to/file}}.ipynb`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Export a specific Jupyter notebook into another format:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`jupyter nbconvert --to {{html|markdown|pdf|script|...}} {{path/to/file}}.ipynb`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start a server on a specific port:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`jupyter notebook --port {{port}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`
|