FYI.

---------- Forwarded message ----------
From: Cameron Simpson <c...@zip.com.au>
Date: Wed, May 19, 2010 at 6:18 PM
Subject: Re: question on logging module
To: frank zhu <frank.zhu.min...@gmail.com>


On 19May2010 11:55, frank zhu <frank.zhu.min...@gmail.com> wrote:
| Thanks Cameron. That was the problem. I copied the sample code and named
it
| logging.py. which was bad.

You might want to post this info to the list to save follow-on
discussion.

One way to check that what you want actually happened is like this:

 [/Users/cameron]g4*> python
 Python 2.6.5 (r265:79063, May 17 2010, 14:44:07)
 [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
 >>> import logging
  >>> sorted(logging.__dict__.keys())

which will report the names in what you imported.

Cheers,
--
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to