Hi all,

In my program, I get a listen element by
listen = graphics.find("listen")

print listen is <Element listen at 6afc20>
print type listen is <type 'instance'>
I am sure listen is not None and can be accessed properly.

But print bool(listen) is False
if not listen  is True

-- 
Zhou Peng
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to