Python code for Quantitative Economics with Python by John Stachurski and Thomas J. Sargent