Created
November 11, 2018 21:52
-
-
Save christinebuckler/b742872d3dcafa32d7ee84ecfce10fe3 to your computer and use it in GitHub Desktop.
running jupyter notebooks as script with runipy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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