On Jun 17, 6:16 am, Neal Becker <[EMAIL PROTECTED]> wrote:
> Code at global scope in a module is run at module construction (init).  Is
> it possible to hook into module destruction (unloading)?

Try the __del__ method.

See http://docs.python.org/ref/customization.html for the docs.

--
Gerald Kaszuba
http://geraldkaszuba.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to