For a quick one-off way, use the %load magic command in a blank cell in a 
notebook.

%load mycode.py
On Thursday, July 21, 2016 at 7:00:33 AM UTC-4, 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/9459411d-f810-4050-a89b-842c53c36118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to