Other Functions¶
- notebook_to_python(notebook_name)¶
Exports a Jupyter Notebook to a Python script using
nbconvert. Appends.ipynbto the filename if it is not already present.- Parameters:
notebook_name (str) – Name of the Jupyter Notebook file, with or without the
.ipynbextension.- Returns:
None
- notebook_to_html(notebook_name, execute=False)¶
Exports a Jupyter Notebook to an HTML file using
nbconvert. Appends.ipynbto the filename if it is not already present.- Parameters:
notebook_name (str) – Name of the Jupyter Notebook file, with or without the
.ipynbextension.execute (bool, optional) – Whether to execute the notebook before converting. Defaults to False.
- Returns:
None