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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -