下面舉例的xml格式的消息是沒有屬性值的,但是xmltodict也是支持帶屬性值的。 ... encoding要加上 new_dict_obj = xmltodict.parse(f.read()).
確定! 回上一頁