[IPython-dev] Automatically saving notebooks as scripts has been removed

Thomas Kluyver takowl at gmail.com
Fri Aug 8 18:03:55 EDT 2014


On 8 August 2014 14:55, Erik Bray <erik.m.bray at gmail.com> wrote:

>  Would somebody please be willing to summarize the differences between
>
> nbconvert --to python
>
> and the aforementioned --script option?


--script is an option to the notebook server, so that whenever you save a
notebook, you get a copy of the .py script as well. nbconvert has to be run
as a separate command when you want to do a conversion. Currently, --script
relies on a separate mechanism to write notebooks to .py files, but that
mechanism is being removed.

We'll reinstate --script for IPython 3, using the nbconvert machinery to
write notebooks, but it will be deprecated.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140808/b8a8cdce/attachment.html>


More information about the IPython-dev mailing list