Hi all,
In my program, I get a listen element by
listen = graphics.find("listen")
print listen is
print type listen is
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/py
t is not a standard Python object. What
>library is it from?
from xml.etree.ElementTree
On Fri, Nov 25, 2011 at 5:06 PM, Peter Otten <__pete...@web.de> wrote:
> ZhouPeng wrote:
>
>> In my program, I get a listen element by
>> listen = graphics.find("listen")
>