FAQ
FYI.

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

On 19May2010 11:55, frank zhu 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 <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100519/1c7dd017/attachment.html>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedMay 20, '10 at 1:14a
activeMay 20, '10 at 1:14a
posts1
users1
websitepython.org

1 user in discussion

Frank zhu: 1 post

People

Translate

site design / logo © 2022 Grokbase