[IPython-User] stop running cell by conditon

Paul Hobson pmhobson@gmail....
Mon Sep 16 12:56:17 CDT 2013


On Mon, Sep 16, 2013 at 10:04 AM, Jon Wilson <jsw@fnal.gov> wrote:

>  I often use
>
> assert False
>
> in a cell when I don't want "Run all cells" to continue past that point.
> This doesn't give a very informative error message, of course, but it gets
> the job done.
> Regards,
> Jon
>
>
To this end, the latest version of the Notebook has a "Run All Above" item
in the Cells menu. (Just FYI). There's also "Run All Below".
-p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130916/974cdfbf/attachment.html 


More information about the IPython-User mailing list