Пример #1
0
 def on_load_words(self):
     with askopenfile() as f:
         self.words = count(load(f))
         self.on_show_words()
Пример #2
0
def top_words(words, qty=20):
    return lines(top(count(words), qty))
Пример #3
0
 def on_load_words(self):
     with askopenfile() as f:
         self.words = count(load(f))
         self.on_show_words()
Пример #4
0
def count_words(words):
    return lines(asc(count(words)))