These examples are based on the Dive Into Python ebook that can be found at http://www.diveintopython.net/ They accompany the YouTube series which offers chapter summaries and can be found here: https://www.youtube.com/playlist?list=PLECibIxMfd0ckKDWtO9JmQMZvJ9raH-md