Exemplo n.º 1
0
 def on_load_words(self):
     with askopenfile() as f:
         self.words = count(load(f))
         self.on_show_words()
Exemplo n.º 2
0
def top_words(words, qty=20):
    return lines(top(count(words), qty))
Exemplo n.º 3
0
 def on_load_words(self):
     with askopenfile() as f:
         self.words = count(load(f))
         self.on_show_words()
Exemplo n.º 4
0
def count_words(words):
    return lines(asc(count(words)))