bundles / IPython 9.2.0 / IPython / core / magics / basic / BasicMagics / notebook
function
IPython.core.magics.basic:BasicMagics.notebook
Signature
def notebook(self, s)Summary
[1;34m::
Extended Summary
%[0m[1;35mnotebook[0m [32mfilename[0m
Export and convert IPython notebooks.
This function can export the current IPython history to a notebook file. For example, to export the history to "foo.ipynb" do "%notebook foo.ipynb".
[1;34mpositional arguments:[0m
filename Notebook name or filename
Aliases
IPython.core.magics.BasicMagics.notebook