Clearing The Interactive Python Environment

Ben C benc1 at today.com.au
Mon Aug 6 18:09:07 EDT 2001


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