bundles / nbformat latest / nbformat / reader / read
function
nbformat.reader:read
source: /nbformat/reader.py:87
Signature
def read(fp, **kwargs)Summary
Read a notebook from a file and return the NotebookNode object.
Extended Summary
This function properly reads notebooks of any version. No version conversion is performed.
Parameters
fp: fileAny file-like object with a read method.
Returns
nb: NotebookNodeThe notebook that was read.
Aliases
nbformat.reader.read