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:
“But some who this blithe mood present,
As on in lightsome files they fare,
Shall die experienced ere three days be spent
Perish, enlightened by the vollied glare;
Or shame survive, and, like to adamant,
Thy after shock, Manassas, share.”
—Herman Melville (18191891)