API for reading notebooks.
Authors:
Parse a JSON string into a dict.
Get the version of a notebook.
Parameters : | nb : dict
|
---|---|
Returns : | Tuple containing major (int) and minor (int) version numbers : |
Read a notebook from a json string and return the NotebookNode object.
This function properly reads notebooks of any version. No version conversion is performed.
Parameters : | s : unicode
|
---|---|
Returns : | nb : NotebookNode
|
Read a notebook from a file and return the NotebookNode object.
This function properly reads notebooks of any version. No version conversion is performed.
Parameters : | fp : file
|
---|---|
Returns : | nb : NotebookNode
|