Through the Looking Glass

IMHO This is Starting to Get Cool

So yesterday we started to build our GUI for our Address Book program using a QTableWidget from the Qt toolkit. Before moving on to other features of the program, let’s take a moment to practice working with this widget. Along the way, we’ll also see how these dictionaries can fit into the picture.

alice-qt-count

The Assignment

Today in class we constructed a program that scanned Chapter 1 of Alice in Wonderland and counted the occurrence of each word. The list was then displayed in a table. Your task is to write the code and get it working. Then submit your program here with the name qt-alice-count.py