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.
- Describe a CSV file
- Read from a CSV file
- Use the split() method
- Select data from a collection of values
- Lesson plans
- Slide decks
- Learner resources
Don't have an account?
Enjoyed teaching these lessons? Found a mistake?
Fill in a short form to give feedback on these resources.