[IPython-dev] best way to strip output cells for a v4 notebook?

Nathan Goldbaum nathan12343 at gmail.com
Mon Mar 16 17:30:22 EDT 2015


On Mon, Mar 16, 2015 at 2:24 PM, taleb brost <mkpaustin at gmail.com> wrote:

> I'm using code from
>
>
> https://github.com/petered/plato/blob/fb2f4e252f50c79768920d0e47b870a8d799e92b/notebooks/config/strip_notebook_output
>
> to filter my notebooks when they're committed to github.
>
> Is this the best approach, or would something that uses
>
> ClearOutputPreprocessor.enabled=True
>
>
Given that the IPython devs can and do change the notebook format, it would
probably be preferable to use the ClearOutputPreprocessor, if only because
it will be easier to maintain and less likely to break due to internal
changes in IPython or the notebook format.



> be preferable?
>
> Thanks, Phil Austin
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/a5cf6658/attachment.html>


More information about the IPython-dev mailing list