python - Using xml.etree.ElementTree.find() with custom tags -
I am using Tembo to get weather for an address at Yahoo. Since this XML code returns, so I'll add custom yahoo tags & lt; Yweather: condition / & gt; I'm using
. But when I run the program, I get the following error: ElementTree.find ()
to search
Syntax error: The prefix 'yweather' was not found in the prefix map
How do I use Custom XML tags with ElementTree.find ()
?
Comments
Post a Comment