Clearing The Interactive Python Environment

chajadan me at charliedaniels.com-1.net
Wed Aug 8 11:33:47 EDT 2001


I too would like to know how to do this. I don't want to have to
restart PyWin each time I have made changes to certain things.

say for example I change a module and want to reload it, but imported
it thus:

from my_module import *

How do I reload the * from my_module?

Right now I just close and restart.

--chajadan

On 6 Aug 2001 15:09:07 -0700, benc1 at today.com.au (Ben C) wrote:

>Hi,
>
>Sorry to bother the group with such a trivial Q but for some reason I
>can not find an answer to this in the docs ... how does one 'clear'
>the Python environment .... so all loaded modules and variables are
>freed? (ie return the Python environment back to its initial state at
>start up) I assumed it would have been in the sys module?
>
>thanking you in advance




More information about the Python-list mailing list