only print when i want

master
ada 1 year ago
parent d461bc8b1a
commit c7e71c5b7d

@ -57,7 +57,9 @@ def quantifier (words):
#print(type(objects))
#print(objects)
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)
#object = ["teammate", "card", "turn", "place", "board", "dice", "nice", "backgammon"]
#verb = ["choose", "pick", "give", "burn", "cut"]

Loading…
Cancel
Save