def record(self, i=0):
        """Returns a specific dbf record based on the supplied index."""
        f = self.__getFileObj(self.dbf)
        if self.numRecords is None:
            self.__dbfHeader()
        i = self.__restrictIndex(i)
        recSize = self.__recStruct.size
        f.seek(0)
        f.seek(self.__dbfHdrLength + (i * recSize))
        return self.__record(oid=i)
def record ( self , i = 0 ) : f = self . __getFileObj ( self . dbf ) if self . numRecords is None : self . __dbfHeader ( ) i = self . __restrictIndex ( i ) recSize = self . __recStruct . size f . seek ( 0 ) f . seek ( self . __dbfHdrLength + ( i * recSize ) ) return self . __record ( oid = i )
Returns a specific dbf record based on the supplied index.