Reading data in from a csv can be handled in many ways. One solution is to read the
csv file into an array. From there you can do work on the array.
This module provides the ConfigParser class which implements a basic configuration language in INI files. You can use this to write Python programs which can be customized by end users easily.