A useful single document to help teach pupils (and teachers) about writing to and reading from a .csv file using Python.
This handout helps pupils and teacher brush up on your Python skills and works well as a handy reference guide.
This document includes an explanation of writing to and reading from a .csv (comma separated value) file using Python and gives examples of code with easy to follow explanations. It also includes a single page of 6 challenges for students to complete which is ideal for photocopying and distributing to students to work through and practice their new skills. There is even a suggested answer to each of the challenges in case you get stuck.
The challenges do assume the pupils have an understanding of the basics of Python including variables and if statements, loops, converting between integers and strings and using 2D lists.
Written for the UK market.
Suitable for computer science classes who are needed to practice the basics of Python before they progress to more challenging techniques.
For more resources including complete units of work visit www.nicholawilkin.com