On 15 Nov 2005 14:45:27 -0800, Steve <[EMAIL PROTECTED]> wrote:
> Does any one know if python has the ability to run a shutdown hook.
Look at the "atexit" module.
barbet (~)$ pydoc atexit.register
Help on function register in atexit:
atexit.register = register(func, *targs, **kargs)
register a function to be executed upon normal program termination
func - function to be called at exit
targs - optional arguments to pass to func
kargs - optional keyword arguments to pass to func
--
Steve Juranich
Tucson, AZ
USA
--
http://mail.python.org/mailman/listinfo/python-list