基于Dragonbaord 410c开发板的Python交互设计(3)——天气预报xml数据解析
self.forecast_weather_info_nfengxiang.append(nfengxiang)
weatherXml.readNext()
#print(nfengxiang)
elif weatherXml.name()=="fengli":
nfengli=weatherXml.readElementText()
print("nfenli")
self.forecast_weather_info_nfengli.append(nfengli)
weatherXml.readNext()
#print(nfengli)
else:
weatherXml.readNext()
#break
else:
weatherXml.readNext()
break
else:
weatherXml.readNext()
else:
weather
DragonBoard 410c python XML 相关文章: