python for system administrator: Listing 1-3. Reading and storing the configuration