[IPython-dev] API to Modify Notebook Metadata
MinRK
benjaminrk at gmail.com
Sat Sep 13 17:55:58 EDT 2014
It’s relatively straightforward to do this from Javascript:
IPython.notebook.metadata.key = "value";
There isn’t an API to use from Python, other than raw execution of the
above javascript:
from IPython.display import display_javascript
display_javascript('IPython.notebook.metadata.key = "value";', raw=True)
-MinRK
On Sat, Sep 13, 2014 at 2:32 PM, Nolan Nichols <nolan.nichols at gmail.com>
wrote:
> Hi,
>
> I'm curious if it is yet possible to edit the Notebook Metadata
> programatically. I'm familiar with how to do this in the UI manually, but
> would like to simply inject some json into the metadata using code. Thanks!
>
> Cheers,
>
> Nolan
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140913/587519e0/attachment.html>
More information about the IPython-dev
mailing list