nbconvert

noun

say it: “EN-bee kun-VERT” /ˌɛnˈbi kənˈvɝt/

A Jupyter tool that turns a notebook into another kind of file, such as a web page.

What is nbconvert?

nbconvert is the Jupyter tool that converts a notebook to other formats. --to html writes a web page that opens in any browser, with no Python needed, showing each cell's saved output; --no-input leaves the code out.

jupyter nbconvert --to html story.ipynb             # writes story.html
jupyter nbconvert --to html --no-input story.ipynb  # the same page without the code

In a sentence

  • “She ran nbconvert with --no-input so the director saw no code.”
  • “nbconvert turned story.ipynb into story.html.”

Level: Journeyman · More Python terms at this level

Updated