wc.py

import word

filename = "../bee.txt"
words = word.words_in_file(filename)
print("%s: %d words" % (filename, len(words)))