code: def load(self, filename):
          '''load settings from a file. Return True/False on success/failure'''
          try:
              f = open(filename, mode='r')
          except Exception:
              return False
          while True:
              line = f.readline()
              if not line:
                  break
              line = line.rstrip()
              eq = line.find('=')
              if eq == -1:
                  continue
              name = line[:eq]
              value = line[eq+1:]
              self.set(name, value)
          f.close()
          return Truf load(self, filename):
          '''load settings from a file. Return True/False on success/failure'''
          try:
              f = open(filename, mode='r')
          except Exception:
              return False
          while True:
              line = f.readline()
              if not line:
                  break
              line = line.rstrip()
              eq = line.find('=')
              if eq == -1:
                  continue
              name = line[:eq]
              value = line[eq+1:]
              self.set(name, value)
          f.close()
          return True
docs: load settings from a file. Return True/False on success/failure