actually use wonderwords correctly

main
samerbam 1 year ago
parent 8c636c213e
commit 1a76b1b7f5

@ -32,7 +32,7 @@
# resp.body = f.read()
from escpos.printer import Usb
import usb
import wonderwords
from wonderwords import RandomWord
from datetime import datetime
@ -95,6 +95,7 @@ class ThermalPrinter():
def print_wordsearch(self):
# words = ("gugu,gaga")
r = RandomWord()
words = r.random_words(10, include_parts_of_speech=["nouns", "verbs", "adjectives"])
w = WordSearch(words, 32, 32)

Loading…
Cancel
Save