-
Notifications
You must be signed in to change notification settings - Fork 84
Think python
Sketch curriculum for the inaugural "Python Boot camp" held for the Scottish Graduate Programme in Economics at the University of Edinburgh, June 3-7 2013.
Curriculum mainly follows Think Python by Allen Downey. The book is freely available on-line in both pdf and html.
- Chapter 1: The way of the program
- Chapter 2: Variables, expressions and statements
- Chapter 3: Functions
-
Chapter 4: Case Study Uses Swampy which can be downloaded from PyPi using
pip install swampy
from the command line.
For the afternoon sessions, I plan to switch from basics of Python programming to more specialized topics. We will start by covering Chapter 3: IPython from Wes McKinney's book Python for Data Analysis. The code for the entire book can be forked from it's github repository.
I plan to cover Chapters 4 and 12 on NumPy from Wes McKinney's book Python for Data Analysis.
- Chapter 11: Dictionaries
- Chapter 12: Tuples
- Chapter 13: Case Study Data structure selection.
- Chapter 14: Files Optional.
Today, I will introduce you to object-oriented programming (OOP) and agent-based modelling (ABM) by replicating results from Allan Issac's paper on Simulating Evolutionary Games.
More detail on the theory can be found in chapters 15-19 of Think Python: