On Fri, Dec 28, 2018 at 8:53 PM Ênio Júnior wrote:
>
> Hello all ones!
>
> I want to run a jupyter inside a .py script, but I cannot find anything in 
> the documentation. Is it possible to do that?

You can use the module "nbconvert" for this, more specifically,
"nbconvert.preprocessors.ExecutePreprocessor":

https://nbconvert.readthedocs.io/en/latest/execute_api.html#executing-notebooks-using-the-python-api-interface

cheers,
Matthias

-- 
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/CAFesC-cjYw4PneDL7%3DG15qcO21Z7-60TJoDJYrXbNDnLJzQSsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to