Since Peter Norvig has been topical this week, here are his great instructional ipython notebook solutions to last years AoC challenges[1].
[1] http://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%20...
[1] http://nbviewer.jupyter.org/url/norvig.com/ipython/Advent%20...