only print when i want

master
ada 2 years ago
parent d461bc8b1a
commit c7e71c5b7d

@ -57,7 +57,9 @@ def quantifier (words):
#print(type(objects)) #print(type(objects))
#print(objects) #print(objects)
def dotprint(text): def dotprint(text):
os.system('echo "'+text+'"> /dev/usb/lp0') printerpath = '/dev/usb/lp0'
if os.path.exists(printerpath):
os.system(f'echo "{text}"> { printerpath }')
print(text) print(text)
#object = ["teammate", "card", "turn", "place", "board", "dice", "nice", "backgammon"] #object = ["teammate", "card", "turn", "place", "board", "dice", "nice", "backgammon"]
#verb = ["choose", "pick", "give", "burn", "cut"] #verb = ["choose", "pick", "give", "burn", "cut"]

Loading…
Cancel
Save