GCSE – Lesson 40 – Reading CSV files

Curriculum KS4 Unit Lesson

Learners are already familiar with text files and how to read the data from them. A CSV file is still a text file and you can use the same methods and modes that you can with a standard file. However, you might use a CSV file for different purposes and operations. This lesson introduces learners to CSV files and will show them how to read data into a list and a 2D list, before setting them challenges where they will work with the data.

Learning objectives

  • Describe a CSV file
  • Read from a CSV file
  • Use the split() method
  • Select data from a collection of values

Package contents

  • Lesson plans
  • Slide decks
  • Learner resources
  • Homework