> I doubt python calls __del__ when unloading module... and plus, I > don't really think python does module unloading though. del module
Ah! Apologies... I mis-read the question. Unloading or at least destroying the reference to a loaded module, you could go for "del module_name"? -- Gerald Kaszuba http://geraldkaszuba.com -- http://mail.python.org/mailman/listinfo/python-list