Python 提取dict转换为xml/json/table并输出的实现代码