Пример #1
0
 def _vocabularyIgnored(self):
     sqlVocab = SqliteVocabulary("studyenglish.db", "vocabulary")
     for item in self.items:            
         print("_vocabularyInorge", self.tree.item(item,"text"))
         values = self.tree.item(item,"values")
         sqlVocab.update_word_status(values[0], -1)
     """sqlVocabIgnored = SqliteVocabulary("studyenglish.db", "vocabulary_ignored")
Пример #2
0
 def _vocabularyStudying(self):
     sqlVocab = SqliteVocabulary("studyenglish.db", "vocabulary")
     for item in self.items:            
         print("_vocabularyStudying", self.tree.item(item,"text"))
         values = self.tree.item(item,"values")
         sqlVocab.update_word_status(values[0], 0)
     """sqlVocabStudying = SqliteVocabulary("studyenglish.db", "vocabulary_studying")