会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
gavincc
博客园
首页
新随笔
联系
订阅
管理
2020年3月25日
(垃圾代码)修改同目录下面的xml文件标签数值
摘要: import osimport xml.dom.minidomdef replace_value(xmlpath, tag_name, n): try: # 文件读取 dom = xml.dom.minidom.parse(xmlpath) root = dom.documentElement #
阅读全文
posted @ 2020-03-25 14:37 gavincc
阅读(263)
评论(0)
推荐(0)
编辑
公告