GCSE – Lesson 40 – Reading CSV files
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
Don't have an account?
GCSE revision
A comprehensive range of content and helpful practice questions are also available for this topic.
View on Ada Computer ScienceEnjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.