A tiny command-line tool that counts the words and lines in a text file. It's a usefull little utility for quickly checking file sizes without opening an editor.
python wordcount.py <file>Example:
$ python wordcount.py README.md
words: 42
lines: 15python -m unittest test_wordcount.py