You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use IPython to present interactive demos¶
Use the IPython.lib.demo.Demo class to load any Python script as an interactive demo. With a minimal amount of simple markup, you can control the execution of the script, stopping as needed. See here for more.
and I didn't know about the nbviewer! Very cool that!
I'm not quite sure it is a good idea, nonetheless, you could wrap the example in try/except and display the traceback by yourself, eventually using IPython helper functions.
I think there might be a discussion about some kind of magic that does it on the list.
Otherwise you could listen to Js event to submit cell n+1 only when cell n is done.
I'll wait for other dev to give their thought, but I'm -1 on integrating it by default.
I have this example notebook where I explain Python and IPython, and some of the examples demonstrate exceptions.
Now I have the problem that "Run All" stops on the first exception, but in this case I would like to going even if exceptions occur.
Would it be possible to add this possibility?
Here's an example demonstrating the current behaviour:
https://gist.github.com/4161224
http://nbviewer.ipython.org/4161224/
The text was updated successfully, but these errors were encountered: