[CentOS] Python Script Issue

Sat Feb 27 20:51:12 UTC 2010
Benjamin Donnachie <benjamin at py-soft.co.uk>

On 27 February 2010 20:46, Joseph L. Casale <jcasale at activenetwerx.com> wrote:
>    atexit.register(atexit_handler)
> NameError: global name 'atexit' is not defined

Have you remembered import atexit ?

> A Google search doesn't really help me, except confirm that I don't know
> anything about python:)

http://www.google.co.uk/search?q=python+atexit
http://docs.python.org/library/atexit.html
http://python.active-venture.com/lib/atexit-example.html
http://www.python.org/doc/3.0.1/library/atexit.html

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

Ben