How to unload a module after I've imported it.

Johny python at hope.cz
Sat Sep 29 16:03:14 EDT 2007


Is it possible to unload a module after I've imported it.
I have the main program from which I import several smaller programs.
Some of these uses timeoutsocket module.
But one of the smaller program can not work with the timeoutsocket
module, so I must
unload the timeoutsocket module, execute the program and  then  reload
timeoutsocket module.
So, s it possible to unload a module after I've imported it..
Thanks
L.




More information about the Python-list mailing list