Skip to content

Utility for converting from html to ipynb

Notifications You must be signed in to change notification settings

Jackie00765/html_to_ipynb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

html_to_ipynb

This script converts the html rendering of a Jupyter Notebook back into its Jupyter Notebook form.

Usage

python html_to_ipynb.py /path/to/html/input.html /path/to/notebook/output.ipynb

Caveats

This script relies on the DOM construction being equivalent to the default output from Jupyter server when notebooks are converted to html. It may or may not work with your particular file.

Attribution

This script was adapted from this StackOverflow answer: https://stackoverflow.com/questions/28972614/jupyter-ipython-notebook-convert-an-html-notebook-to-ipynb

About

Utility for converting from html to ipynb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%