|
|
@ -95,9 +95,9 @@ class ThermalPrinter():
|
|
|
|
|
|
|
|
|
|
|
|
def print_wordsearch(self):
|
|
|
|
def print_wordsearch(self):
|
|
|
|
# words = ("gugu,gaga")
|
|
|
|
# words = ("gugu,gaga")
|
|
|
|
r = RandomWord()
|
|
|
|
r = RandomWord()
|
|
|
|
words = r.random_words(15, include_parts_of_speech=["nouns", "verbs", "adjectives"])
|
|
|
|
words = r.random_words(15, include_parts_of_speech=["nouns", "verbs", "adjectives"])
|
|
|
|
w = WordSearch(','.join(words), 32, 16)
|
|
|
|
w = WordSearch(','.join(words), 32, 16)
|
|
|
|
|
|
|
|
|
|
|
|
for x in w.grid:
|
|
|
|
for x in w.grid:
|
|
|
|
self.p.set(align="center")
|
|
|
|
self.p.set(align="center")
|
|
|
|