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 ElementTree.find () to search . But when I run the program, I get the following error:

  Syntax error: The prefix 'yweather' was not found in the prefix map  

How do I use Custom XML tags with ElementTree.find () ?


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -