The following scripts demonstrate the use of the Python module ‘configparser’ used for Configuration File Parsing. configparser — Configuration file parser.
This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what’s found in Microsoft Windows INI files.
You can use this to write Python programs which can be customized by end users easily.