python read settings file lib