code: def save(self):
          '''saves our config objet to file'''
          if self.app.cfg_mode == 'json':
              with open(self.app.cfg_file, 'w') as opened_file:
                  json.dump(self.app.cfg, opened_file)
          else:
              with open(self.app.cfg_file, 'w')as opened_file:
                  yaml.dump(self.app.cfg, opened_filef save(self):
          '''saves our config objet to file'''
          if self.app.cfg_mode == 'json':
              with open(self.app.cfg_file, 'w') as opened_file:
                  json.dump(self.app.cfg, opened_file)
          else:
              with open(self.app.cfg_file, 'w')as opened_file:
                  yaml.dump(self.app.cfg, opened_file)
docs: saves our config objet to file