Pythonwin Reset

Gordon Williams g_will at cyberus.ca
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?

Regards,

Gordon Williams

Mark Hammond <mhammond at skippinet.com.au> wrote in article
<_X004.7432$VA6.38559 at news-server.bigpond.net.au>...
> Nope.  The closes Pythonwin could really do is to perform a
> __main__.__dict__.clear(), and that is pretty easy to type.  There is no
way
> Pythonwin could perform a more intrusive reset, as Pythonwin is written
in
> Python!
> 
> Mark.
> 
> Gordon Williams wrote in message
> <01bf38df$8127e0c0$3a42c3d1 at Cyberus.cyberus.ca>...
> >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
run
> >of the program.
> >
> >Thanks
> >
> >Gordon Williams
> 
> 
> 




More information about the Python-list mailing list