mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-29 04:21:03 +08:00
jupy{ter-lab,ter,text}: update placeholders and links (#20463)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# jupyter lab
|
||||
|
||||
> Interactive development environment for Jupyter notebooks.
|
||||
> More information: <https://jupyterlab.readthedocs.io/en/stable/>.
|
||||
> More information: <https://jupyterlab.readthedocs.io/en/stable/getting_started/starting.html>.
|
||||
|
||||
- Start JupyterLab:
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Open a specific notebook:
|
||||
|
||||
`jupyter lab {{path/to/notebook.ipynb}}`
|
||||
`jupyter lab {{path/to/notebook}}.ipynb`
|
||||
|
||||
- Start JupyterLab in a specific directory:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> 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/>.
|
||||
> More information: <https://docs.jupyter.org/en/latest/use/jupyter-command.html>.
|
||||
|
||||
- Start a Jupyter notebook server in the current directory:
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
- Open a specific Jupyter notebook:
|
||||
|
||||
`jupyter notebook {{example.ipynb}}`
|
||||
`jupyter notebook {{path/to/file}}.ipynb`
|
||||
|
||||
- Export a specific Jupyter notebook into another format:
|
||||
|
||||
`jupyter nbconvert --to {{html|markdown|pdf|script}} {{example.ipynb}}`
|
||||
`jupyter nbconvert --to {{html|markdown|pdf|script|...}} {{path/to/file}}.ipynb`
|
||||
|
||||
- Start a server on a specific port:
|
||||
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
# jupytext
|
||||
|
||||
> Convert Jupyter notebooks to plain text documents, and back again.
|
||||
> More information: <https://manned.org/jupytext>.
|
||||
> More information: <https://jupytext.readthedocs.io/en/latest/using-cli.html>.
|
||||
|
||||
- Turn a notebook into a paired `.ipynb`/`.py` notebook:
|
||||
|
||||
`jupytext --set-formats ipynb,py {{notebook.ipynb}}`
|
||||
`jupytext --set-formats ipynb,py {{path/to/notebook}}.ipynb`
|
||||
|
||||
- Convert a notebook to a `.py` file:
|
||||
|
||||
`jupytext --to py {{notebook.ipynb}}`
|
||||
`jupytext --to py {{path/to/notebook}}.ipynb`
|
||||
|
||||
- Convert a `.py` file to a notebook with no outputs:
|
||||
|
||||
`jupytext --to notebook {{notebook.py}}`
|
||||
`jupytext --to notebook {{path/to/notebook}}.py`
|
||||
|
||||
- Convert a `.md` file to a notebook and run it:
|
||||
|
||||
`jupytext --to notebook --execute {{notebook.md}}`
|
||||
`jupytext --to notebook --execute {{path/to/notebook}}.md`
|
||||
|
||||
- Update the input cells in a notebook and preserve outputs and metadata:
|
||||
|
||||
`jupytext --update --to notebook {{notebook.py}}`
|
||||
`jupytext --update --to notebook {{path/to/notebook.py}}`
|
||||
|
||||
- Update all paired representations of a notebook:
|
||||
|
||||
`jupytext {{[-s|--sync]}} {{notebook.ipynb}}`
|
||||
`jupytext {{[-s|--sync]}} {{path/to/notebook}}.ipynb`
|
||||
|
||||
Reference in New Issue
Block a user