code: def get_val(self):
          
          with open(os.path.join(self._base, self._attr), 'r') as file_obj:
              return int(file_obj.readline())
docs: Gets attribute's value.
  
          @return: stored value.
          @rtype: int
          @raise IOError: if corresponding file in /proc/sys cannot be read.