Re: Python Script Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 27 February 2010 20:46, Joseph L. Casale <jcasale@xxxxxxxxxxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux