3
votes

Can I convert a Jupyter Notebook saved as .HTML file back into .IPYNB file? The executable original notebooks were lost. The nbconvert docs don't have anything useful for this case. Currently I have to copy-paste bunch of cells into a new notebook, but this is very tedious and output cells will be lost this way.


[EDIT]

I found an interactive way to do this using BeautifulSoup:

IPython notebook: Convert an HTML notebook to ipynb

1

1 Answers

1
votes

REMOVED ANSWER ATTEMPT because pandoc only results in a markdown representation of the notebook input and output cells as a single notebook cell.