An Introduction to Interactive Programming in Python at Rice University
(by Joe Warren, Scott Rixner, John Greiner, Stephen Wong)