Created
July 15, 2018 23:09
-
-
Save sai10/2e9678c38f3da19799e1d9f865ec3d57 to your computer and use it in GitHub Desktop.
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
import IPython.nbformat.current as nbf | |
nb = nbf.read(open('test.py', 'r'), 'py') | |
nbf.write(nb, open('test.ipynb', 'w'), 'ipynb') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment