python 学习_第二模块 configparser 模块
摘要:
import configparser conf = configparser.ConfigParser() # 实例化 conf.sections() # 调用sections方法 conf.read('test.ini') # 查看 print(conf['topsecret.server.com']['port']) # 添加 section sec = conf.... 阅读全文
posted @ 2019-03-22 13:49 augustyang 阅读(105) 评论(0) 推荐(0)
浙公网安备 33010602011771号