Skip to content

Commit 293ac1e

Browse files
authored
Merge pull request norvig#124 from mco-gh/filefix
get small word file if not present
2 parents d9889cc + d002d4b commit 293ac1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ipynb/Wordle.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
"Reply = str # A reply is five characters taken from 'GY.': Green, Yellow, Miss\n",
6060
"Green, Yellow, Miss = 'GY.'\n",
6161
"\n",
62+
"! [ -e wordle-small.txt ] || curl -s -O \\\n",
63+
" https://raw.githubusercontent.com/norvig/pytudes/main/ipynb/wordle-small.txt\n",
6264
"words = open('wordle-small.txt').read().upper().split() # 2,315 target words\n",
6365
"\n",
6466
"@cache\n",

0 commit comments

Comments
 (0)