[Tutor] Does IPython have a "restart"?

Dick Moores rdm at rcblue.com
Wed Jul 16 23:28:42 CEST 2008

At 02:07 PM 7/16/2008, Kent Johnson wrote:
>On Wed, Jul 16, 2008 at 4:31 PM, Dick Moores <rdm at rcblue.com> wrote:
> > At 10:31 AM 7/16/2008, Kent Johnson wrote:
> >>
> >> Just quit and relaunch?
> >>
> >> Kent
> >
> > Well, if that what Kent, a long-time IPython user does, I guess I'm stuck
> > with doing that, but I don't like it.
>Actually I don't do that, I suggested that you might. I don't often
>have a need to reset the interpreter. Why do you want to?

I have a big, 2000-line module, mycalc.py  that is a collection of
useful functions, most written by myself. I often import one or
another function from it and use it in the Ulipad shell. Then I see
that the function needs a small revision. I modify it in the module,
then want to test it and then use the new version in the shell. I'd like
to be able to do this in IPython.

>  What is
>wrong with relaunching?

Hey, IPython is so cool I thought it must have what IDLE has. And 
relaunching takes longer.


More information about the Tutor mailing list