Tzury Bar Yochay a écrit :
$ ~/devel/ice/snoip/freespeech$ python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import logging
logging.DatagramHandler
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'DatagramHandler'
That is odd since the documentation says there is DatagramHandler for
module logging
It also says that DatagramHandler is located in the logging.handlers
modules:
http://www.python.org/doc/2.5.2/lib/node415.html
HTH
--
http://mail.python.org/mailman/listinfo/python-list