Code for the exercises in the training packet.  File exported as a .py from ipython notebook.
The script I created for Chapter 4 and beyond.
The script I created for Chapter 7.