code: def seekend(self):
          
  
          try:
              # Seek to the next-to-last record position
              n = self.seek(self._nrecs - 1)       # updates _offset
              # Read last record, ignoring values
              self.read(1)                         # updates _offset
              return self._nrecs
          except HDF4Error:
              raise HDF4Error("seekend: cannot execute")
docs: Set the current record position past the last vdata record.
          Subsequent write() calls will append records to the vdata.
  
          Args::
  
            no argument
  
          Returns::
  
            index of the last record plus 1
  
          C library equivalent : no equivalent