[IPython-user] re set doesn't
Ville M. Vainio
vivainio@gmail....
Thu Dec 10 03:47:43 CST 2009
On Thu, Dec 10, 2009 at 4:14 AM, Dr. Phillip M. Feldman
<pfeldman@verizon.net> wrote:
> This is obviously not the case. When I kill Python and reload it, all
> module imports are gone (and all figure windows are closed). Voila! The
> question is this: Is there a practical way to do this via a command? I know
> that in Linux and Unix, a process can relaunch the executable with which it
> is associated, which wipes out all state and starts things over from the
> beginning. So, in Linux and Unix implementations of Python, it should be
> possible to do this. I'm not sure about Windows.
Have a wrapper script that repeatedly invokes IPython if the ipython
process returns a specified error code.
--
Ville M. Vainio
http://tinyurl.com/vainio
More information about the IPython-user
mailing list