Two words. Ipython notebook. GG.

http://nbviewer.ipython.org/4121857