scrabble_search.py

This is a means of searching for an item in a sorted list. I am going to describe this algorithm and you are going to use it to write a program that searches a scrabble dictionary for a word that is specified as argv[1]. You may hard-code the filename scrabble.txt in your prgram. Here is the idea.

Your Mission This is a pairs project. Pairs have been assigned in a random manner using a Python program.

The program is to take one argument: the command-line argument is the word you are searching for. Note that the data file is in upper-case and that it is in alphabetical order.

Word to the Wise Use one computer for checking the Python documentation for the things you need. Use the other for maintaing the ONE file you produce. Discuss things as you go along.

Pairings Here are the pairings for both blocks.

Block B
Partner IPartner II
deng22jwang22l
wild22rsingh22c
dai23sdoki22a
sowers22jvazquez22t
frisard23kvanfleet22m
tsuboyama23swin22k
villalpando22bsharma22s
miller22johnagrella23c
etin22aokkonkwo22d
pagar23achatta22s

Block F will appear when the pairing program is run in class.

Block F
Partner IPartner II
warren22bluftig22n
liu22hongfetkovich23j
prakki23sworkukebede22m
kandula23sshaffer22c
warner22aliu23e
huo22jkrasinski23r
chen23erickarty22j
zheng23imahadeshwar23i
khaire23alee23m
narala23ppatel23prantham