Pythonwin Reset

Gordon Williams g_will at
Sun Nov 28 17:29:35 CET 1999

Hi Mark,

When I try it I get:

>>> __main__.__dict__.clear()
Traceback (innermost last):
  File "<interactive input>", line 0, in ?
NameError: __main__

what has gone wrong?


Gordon Williams

Mark Hammond <mhammond at> wrote in article
<_X004.7432$VA6.38559 at>...
> Nope.  The closes Pythonwin could really do is to perform a
> __main__.__dict__.clear(), and that is pretty easy to type.  There is no
> Pythonwin could perform a more intrusive reset, as Pythonwin is written
> Python!
> Mark.
> Gordon Williams wrote in message
> <01bf38df$8127e0c0$3a42c3d1 at>...
> >Hello All,
> >
> >Is there a way to reset Pythonwin IDE between runs.  I want to eliminate
> >any rogue objects or modules that are still in memory from the previous
> >of the program.
> >
> >Thanks
> >
> >Gordon Williams

More information about the Python-list mailing list