[python-win32] How to restart the shell?
Dick Moores
rdm at rcblue.com
Mon Jan 15 22:52:53 CET 2007
At 01:41 PM 1/15/2007, you wrote:
> > At 02:21 AM 1/15/2007, you wrote:
> > > > I'm just trying out PythonWin 2.5, and can't figure out how to
> > > > restart, or refresh the shell. Is there a way?
> > >
> > >It depends on what you mean exactly by "refresh". The SHChangeNotify
> > >function can often be used to tell the shell about a change
> > and its views
> > >will refresh accordingly. What exactly are you trying to do?
> >
> > I want to do what you can do in IDLE with Ctrl+F6. This wipes out any
> > variables or imports, so that when testing code you can know that
> > nothing is going to interfere. Here's what happens with IDLE:
>
>Right - I completely misunderstood :) Sadly that feature does not exist in
>pythonwin.
Thanks.
Dick
More information about the Python-win32
mailing list