摘要: import configparser conf = configparser.ConfigParser() print(type(conf)) #conf是类 conf.read('config.ini') sections = conf.sections() #获取配置文件中所有sections 阅读全文
posted @ 2020-10-02 14:57 chengxuyonghu 阅读(322) 评论(0) 推荐(0)