Lesson 14: File I/O

Outline:

  1. Recap
    • Image objects and how to manipulate them
    • Exercise 0
  2. Mini-quiz
  3. Reading from a file
    • multi-line strings
    • opening and closing a file
    • .csv files
    • Exercise 1
  4. Writing to a file
    • two ways to write
  5. Discussion of Quiz 2
    • common misconceptions

Reading assignment (to be completed by the next class):

  • Zelle section 5.9.1-5.9.3 (pp. 158-164)