Other Functions

notebook_to_python(notebook_name)

Exports a Jupyter Notebook file to a Python script.

Parameters:

notebook_name (str) – Name of the Jupyter Notebook file (with or without .ipynb extension).

Returns:

None

Return type:

None

notebook_to_html(notebook_name, execute=False)

Exports a Jupyter Notebook file to an HTML file.

Parameters:
  • notebook_name (str) – Name of the Jupyter Notebook file (with or without .ipynb extension).

  • execute (bool, optional) – Whether to execute the notebook before converting. Default is False.

Returns:

None

Return type:

None