Okay, this guy's stuff is old - too old :
https://medium.com/@researchplex/the-easiest-way-to-convert-jupyter-ipynb-to-python-py-912e39f16917
And fairly useless too, because he doesn't tell you you need to do
$ > python3 -m IPython nbconvert --to python name.ipynb
When you do that, python warns you and suggests using jupyter nbconvert (same arguments)
That actually works - and you also get the markdown as comments. If you'd rather not, then, there's :
No comments:
Post a Comment