Unload Modules

Curtis Jensen cjensen at bioeng.ucsd.edu
Thu Nov 9 17:58:31 EST 2000


I can't seem to find a clear answer on this, but how do I remove an
imported module?  I have some C modules that I import, the modules only
contain function calls.  However, they are pretty big, and I'd like to
unload these modules after I am done with them, in order to save on
memory.  I don't have the source for these modules.

How can I unload these modules from within Python?  Thanks.

-- 
Curtis Jensen
cjensen at bioeng.ucsd.edu
http://www-bioeng.ucsd.edu/~cjensen/
FAX (425) 740-1451



More information about the Python-list mailing list