WEEK 6: Files and Dictionaries

Announcements

  1. Homework 3 due next Tuesday (2/19)
  2. Project 1 due the following Tuesday (2/26)
  3. Syllabus modifications: 2 projects and 7 homeworks (dropping one of each):
    1. First 3 homeworks worth 10 points; last 4 homeworks worth 12.5
    2. Each of the two projects is worth 60 points
  4. Exams are graded and can be picked up in Mudd, room 3546 (ask for Melissa Duong)
    Exam | Solutions

I. Tuesday, February 12

Data: Working with Files

Slides

Slides 10: Working with Files

II. Thursday, Feb 14

Data: Dictionaries and (More) Lists

Slides

Slides 11: Dictionaries

III. Tutorial

Practice with files and dictionaries

Readings and Resources

  1. Python for Everyone: Files
    videos | textbook
  2. Python for Everyone: Dictionaries
    videos | textbook