Configuration files are important in the storing of persistent data on the local disk and its retrieval for later use.
The data could be in the form of an automated timestamp of last access or it could be user-entered information such as a name or personal user settings.
In order to easily achieve this in Python,
ConfigParser is required to be used.
Below is a quick example of writing to and reading from a configuration file.
import ConfigParser # Instantiates the ConfigParser object. config = ConfigParser.ConfigParser() # Add a Section to the config file. config.add_section('ExampleSection') # Set the options in