python中ConfigParser模块使用

1.使用ConfigParser模块

配置文件由节(section)、键、值组成,范例如下:

[book]
title:ConfigParser模块教程
time:2012-09-20 22:04:55

[size]
size:1024

[other]
blog:csdn.net

具体使用方法参见:http://blog.csdn.net/zm2714/article/details/8002125

你可能感兴趣的:(python中ConfigParser模块使用)