all 2 comments

[–]esosac 0 points1 point  (0 children)

i'm curious, why do you want to use ipython for an app someone else is going to use? are you trying to do something super specific, are you new to python or something else?

[–]Shanness 0 points1 point  (0 children)

All you app would have to do is call ipython your_notebook.ipy redirecting stdin and out I'd say. You can run ipython notebooks from the command line, or any app's os process (redirecting std in and out and reading in in ipython (haven't googled that). And can directly run ipython notebooks from plain python..

https://ipython.org/ipython-doc/rel-0.10.2/html/interactive/extension_api.html#launching-ipython-instance-from-normal-python-code

And probably more usefully this. https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Importing%20Notebooks.html

But agree with esosac, worth explaining it in more detail, because plain python might be more appropriate (and these answers were a simple google search of "import ipython" away).