python学习第五十三天configParser模块的使用

Posted 学无边涯

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python学习第五十三天configParser模块的使用相关的知识,希望对你有一定的参考价值。

   configParser 模块用于生成和修改常见配置文档,python 3.x为configParser,配置软件的常见配置格式

模块的用法

import configparser

config=configparser.ConfigParser()

config.sections()

config.read(‘example.ini‘)

 

以上是关于python学习第五十三天configParser模块的使用的主要内容,如果未能解决你的问题,请参考以下文章

python第五十三天--进程,协程.select.异步I/O...

第五十三天:优化网站的常用方法

第五十三天dom基础

Python学习第十三天 time datetime random os sysshutil json pickle shelve xml configparser hashlib suprocess

爱创课堂每日一题第五十三天- 哪些操作会造成内存泄漏?

小刘同学的第五十三篇博文