# HG changeset patch # User Matt Johnston # Date 1356013593 -28800 # Node ID 542efb356e46f342273b77ca518f370a883d9109 # Parent 0529f3527626d8e02ce87987a48e6f23d869a504 back to random words on the lcd diff -r 0529f3527626 -r 542efb356e46 py/lcd.py --- a/py/lcd.py Thu Dec 20 22:26:18 2012 +0800 +++ b/py/lcd.py Thu Dec 20 22:26:33 2012 +0800 @@ -60,9 +60,9 @@ l.put(1, 'b') l.put(4, 'b') -#words = [word.strip() for word in file('/usr/share/dict/words', 'r')] -#random.shuffle(words) -words = file(sys.argv[1], 'r').read().split() +words = [word.strip() for word in file('/usr/share/dict/words', 'r')] +random.shuffle(words) +#words = file(sys.argv[1], 'r').read().split() pos = 0 last = '' @@ -74,4 +74,4 @@ l.put(0, last) l.put(16, word) last = word - time.sleep(0.1) + time.sleep(0.3)