[Idle-dev] Clearing the environment

Guido van Rossum guido@python.org
Tue, 07 Aug 2001 12:15:57 -0400


>  >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?

The remote execution intends to make this easy.  Each script execution
starts afresh.

--Guido van Rossum (home page: http://www.python.org/~guido/)