logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

解析xml中含有中文

查看链接:添加链接描述

#python
读取xml内容,保存为json

import xml.etree.ElementTree as ETfrom os import getcwdimport jsonimport oswd = getcwd()xmlfile = wd + '\\VOCdevkit\\VOC2007\\Annotations\\'jsonfile = 'E:\\Projects\\dataset\\python\\deeplearning\\fas

#python
到底了