I was in the middle of developing a small-time application. For me, it was to learn recursion, os.walk, working with files..etc. The application I wrote was an incremental backup system, it scanned the directories supplied and backed up data changed from the last backup date stamp.
One of the challenges I came across, how to store the directories we want to scan, in this configuration file. If my loadConfig() function had not been modified, and i supplied multiple options, overwriting issues would happen.
So i modified both the loadConfig() and the saveConfig() functions to allow multi-named options and put those into a list rather than a direct string.