[IPython-dev] API to Modify Notebook Metadata
nicholsn
nolan.nichols at gmail.com
Tue Sep 16 14:00:50 EDT 2014
nicholsn wrote
> How would I go about retrieving a dict of the metadata I just set?
Not sure if this is the preferred approach, but just to close the loop.
--
from IPython.display import Javascript
js = """
var command = "meta = " + JSON.stringify(IPython.notebook.metadata);
var kernel = IPython.notebook.kernel;
kernel.execute(command);
"""
Javascript(js)
meta
--
View this message in context: http://python.6.x6.nabble.com/API-to-Modify-Notebook-Metadata-tp5071535p5071713.html
Sent from the IPython - Development mailing list archive at Nabble.com.
More information about the IPython-dev
mailing list