Programming

Tutorials

We will have several computational tutorials throughout the course. As the course progresses, these materials will be posted below. Note: In some browsers (Firefox primarily), the end of each sentence is clipped off, making it difficult to read. If this is occurring, please try using another browser (Chrome, Safari, etc).

Data sets

Please download the following data sets, unzip them, and place them in your pboc/data folder as described in the setting up Python tutorial.

Python utilities

As sometimes syntax can be difficult, we have written a file with a few functions written in Python that will make some of the in-class exercises less cumbersome. Please download them below and place them in your root pboc folder.

Exercises

As we progress through the course, the code written in class will be posted here, along with the polished version of the same material.

External resources

Below is a list of useful online resources for learning the Python programming language and principles of programming in general.