摘要:
import configparser con = configparser.ConfigParser() # con对象的read功能,打开文件读取文件,放进内容 con.read("ini", encoding='utf-8') # con对象的sections,内存中寻找所有的[xxx] result = con.sections() print(result) ret = con.... 阅读全文
posted @ 2018-06-05 15:04
小宇先森
阅读(73)
评论(0)
推荐(0)
摘要:
tree ElementTree类创建,ElementTree(xxx) getroot() 获取xml根节点 write() 内存中的xml写入文件中 阅读全文
posted @ 2018-06-05 14:24
小宇先森
阅读(88)
评论(0)
推荐(0)

浙公网安备 33010602011771号