会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小楼
读书 学习 生活 进步
首页
新随笔
联系
订阅
管理
2012年2月18日
Python语言解析xml文件
摘要: python语言解析xml文件的常用的有两种方式: 通过MiniDom库解析xml文件通过ElementTree库解析xml文件 MiniDom方式解析xml xml文件以data.xml为例,具体操作如下: data.xml: <?xml version="1.0" encoding="utf-8"?> <info> <intro>保存用户的信息</intro> <list id='001'> <head>auto_userone</head> <
阅读全文
posted @ 2012-02-18 21:13 小楼
阅读(1393)
评论(1)
推荐(0)
编辑
公告