[IPython-dev] Execute python code from the notebook dashboard

Clyde Fare clyde.fare at gmail.com
Sat May 3 11:00:24 EDT 2014


I'm trying to create a graphical IPython notebook dashboard that represents
a collection of notebooks as a network, where nodes are the notebooks and
the links between them are links between notebooks specified in markdown

I've got something that kind of works (
https://github.com/Clyde-fare/ipython_graphdash) but it requires manual
execution of some python code in the directory that IPython is launched
from. I'd like to get rid of this requirement by having this python code
execute when people click the refresh notebook list icon on the dashboard.

I'm very much a beginner javascript wise but as far as I can tell when we
open a notebook a python kernel is launched but at the dashboard there is
no kernel active and so in order to execute some python code I would have
to first launch a kernel and then pass it the code I want to run. I think I
can probably go away and figure out how to do that but I wanted to check
whether this was the right idea, or whether there was a simpler way?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140503/8d9badd4/attachment.html>

More information about the IPython-dev mailing list