© 1999-2048 dssz.net 粤ICP备11031372号
[其它] python读写ini配置文件方法实例分析
说明:本文实例讲述了python读写ini配置文件方法。分享给大家供大家参考。具体实现方法如下: import ConfigParser import os class ReadWriteConfFile: currentDir=os.path.dirname(__file__) filepath=currentDir+os.path.sep+"inetMsgConfigure.ini" staticmethod def getConfigParser(): cf=Confi<weixin_38633157> 上传 | 大小:26kb