M3: Dictionaries and File Basics

This module provides an introduction to Python dictionaries, as well as an introduction to working with files.

Textbook Chapters

The chapters corresponding to this module are:

A PDF version of the textbook is also available here.

You will be asked to log in with your CNetID before you can see the textbook.

Please note that the lectures do not assume you have read the book chapters ahead of time. Unless you prefer to get a feel for the material ahead of a lecture, we suggest you instead plan to read the book chapters after the lectures, as a way to ensure you understood the material covered in the lectures, as well as to dig deeper into topics that we only cover at a high level in the lectures.

Lecture Examples

Files from the K-mers example:

Team Tutorial

Team Tutorial #3: Dictionaries

Remember that the Team Tutorial is not graded, but we nonetheless encourage you to complete it before Programming Assignment #3 is released.

Short Exercises

Short Exercises #3, due Wednesday, Oct 20 at 4:30pm CDT

Programming Assignment

Programming Assignment #3, due Friday, Oct 29 at 4:30pm CDT