摘要: 1、获取所有section import configparser config = configparser.ConfigParser() config .read('文件所在的路径',encoding='utf-8') ret=config .sections() print(ret) 2、获取 阅读全文
posted @ 2023-07-03 15:22 博客新手818 阅读(39) 评论(0) 推荐(0)