This is a development version (9.14.0.dev) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / IPython / core / magics / basic / BasicMagics / notebook

function

IPython.core.magics.basic:BasicMagics.notebook

source: /IPython/core/magics/basic.py :556

Signature

def   notebook ( self s )

Summary

::

Extended Summary

%notebook filename

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".

positional arguments:

filename Notebook name or filename

Aliases

  • IPython.core.magics.BasicMagics.notebook