How to convert a python script with cell delimiters to a jupyter notebook?
there is jupytext
(also available on pypi) that can convert from ipynb
to several formats and back.
when jupytext
is installed you can use
$ jupytext --to notebook test.py
in order to generate test.ipynb
.
jupytext
has a lot more interesting features that can come in handy when working with notebooks.