本文主要介绍在Python中,Python2和Python3使用ConfigParser,读取配置文件(.ini)方法及使用示例代码。
原文地址:Python(Python2 Python3)读写配置文件(ConfigParser)方法