You can try a Python package called *p2j*. Run 

pip install p2j

and

p2j script.py


PyPI: https://pypi.org/project/p2j/
Code: https://github.com/raibosome/python2jupyter

On Thursday, July 21, 2016 at 7:00:33 PM UTC+8, Bond wrote:
>
> Hi
>
> Is it possible to convert python script into ipynb file. The script may be 
> in file or as a string ?
>

On Thursday, July 21, 2016 at 7:00:33 PM UTC+8, Bond wrote:
>
> Hi
>
> Is it possible to convert python script into ipynb file. The script may be 
> in file or as a string ?
>

On Thursday, July 21, 2016 at 7:00:33 PM UTC+8, Bond wrote:
>
> Hi
>
> Is it possible to convert python script into ipynb file. The script may be 
> in file or as a string ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/4127b40b-4395-478b-8ff2-6737fbc3e2de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to