摘要: import configparser class ReadConfig: """定义一个读取配置文件的类""" def __init__(self): configpath = "config.ini文件的绝对路径" self.cf = configparser.ConfigParser() se 阅读全文
posted @ 2021-08-18 18:17 向前一步~ 阅读(577) 评论(0) 推荐(0) 编辑