Logo Search packages:      
Sourcecode: babiloo version File versions  Download package

def babiloo-2.0.11::core::dictionary::pystardict::_StarDictDict::__getitem__ (   self,

returns data from .dict for word

Definition at line 366 of file pystardict.py.

00366                                :
        returns data from .dict for word

        # getting word data coordinats
        cords = self._container.idx[word]

        # seeking in file for data

        # reading data
        bytes = self._file.read(cords[1])

        return bytes

    def __len__(self):

Generated by  Doxygen 1.6.0   Back to index