Lesson 14: File I/O

Outline:

  1. Challenge for today: draw earthquakes from file
  2. Reading from a file
    • multi-line strings
    • opening and closing files
    • .csv files
  3. Writing to a file

Explore after class:

  1. Reading from a file

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

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