Skip to content

Instantly share code, notes, and snippets.

@christinebuckler
Created November 11, 2018 21:52
Show Gist options
  • Save christinebuckler/b742872d3dcafa32d7ee84ecfce10fe3 to your computer and use it in GitHub Desktop.
Save christinebuckler/b742872d3dcafa32d7ee84ecfce10fe3 to your computer and use it in GitHub Desktop.
running jupyter notebooks as script with runipy
# https://pypi.org/project/runipy
# To save the output of each cell back to the notebook file, run:
runipy -o MyNotebook.ipynb
# To save the notebook output as a new notebook, run:
runipy MyNotebook.ipynb OutputNotebook.ipynb
# To run a .ipynb file and generate an HTML report, run:
runipy MyNotebook.ipynb --html report.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment