You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually I am using nbconvert to convert a notebook to html. Today I was searching for a way to do it via code from inside the notebook. When searching for it I found ipylab and the command "notebook:export-to-format" but I don't understand how to use it.
From the notebook I did
from ipylab import JupyterFrontEnd
app = JupyterFrontEnd()
app.commands.execute("docmanager:save")
app.commands.execute("notebook:export-to-format")
I get no error messages but also no file.
What I eventually would like to do is something corresponding to
nbconvert --to html --template classic --no-input notebook
Do you have any idea on how to do it?
The text was updated successfully, but these errors were encountered:
Hi,
Usually I am using nbconvert to convert a notebook to html. Today I was searching for a way to do it via code from inside the notebook. When searching for it I found ipylab and the command "notebook:export-to-format" but I don't understand how to use it.
From the notebook I did
I get no error messages but also no file.
What I eventually would like to do is something corresponding to
nbconvert --to html --template classic --no-input notebook
Do you have any idea on how to do it?
The text was updated successfully, but these errors were encountered: