I did manage to do it with something like:
import os
os.system('jupyter notebook example.ipynb')
but it seems like that is not the best approach.
On Sunday, October 9, 2016 at 9:43:24 AM UTC-4, John Kitchin wrote:
>
> Is there an Ipython magic, or python function that would open a notebook?
>
> I know you can do it from a command line, but I want to run a python
> function that downloads and opens a notebook from an Ipython shell.
>
> I found the %notebook magic, but it seems to convert the current history
> to a notebook, which is not what I need.
>
> Thanks,
>
--
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/ce8173b0-338d-48b2-9014-7e83076b6483%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.