[Tutor] IDLE question
dyoo at hkn.eecs.berkeley.edu
Fri Jul 9 19:29:20 CEST 2004
On Fri, 9 Jul 2004, Dick Moores wrote:
> Steve wrote at 05:47 7/9/2004:
> >So, to do what you asked for, you can simply do something like:
> > >>> for i in globals().keys():
> >... if i not in ['__builtins__', '__doc__', '__file__', '__name__']:
> >... del globals()[i]
> Thanks very much, Steve. That works fine, even though it's more typing
> than I was hoping for..
How about the "Restart Shell" command in the Shell menu, though? Does
that do the same thing for you? It should also be accessible through the
Good luck to you!
More information about the Tutor