Is it possible to tell a python script to stop at some point and give you the hand interactively, for example with ipython?
<p>Suppose I have a script that does a lot of stuff, and doesn't work well somewhere near the end. I'd love to be able to add a <code>start_ipython()</code> function at that point, which would stop the script at this point, and let me inspect variables and so on with ipython. How can I do this?</p>
