Accessing INI Files
Under Windows, the Profile API is the programming interface used to read and write settings from classic Windows .ini files. For example, the GetPrivateProfileString function retrieves a string from the specified section in an initialization file.
The following sample C program demonstrates reading property values from the above sample INI file (Let the name of configuration file be dbsettings.ini)
#includePython's standard library provides the configparser module for parsing INI-like configuration files.
Read more about this topic: INI File
Famous quotes containing the word files:
“The good husband finds method as efficient in the packing of fire-wood in a shed, or in the harvesting of fruits in the cellar, as in Peninsular campaigns or the files of the Department of State.”
—Ralph Waldo Emerson (18031882)