
Teaching Python File Handling for IGCSE & A-Level CS — Worked Examples
File handling is one of those topics that always shows up on Cambridge CS exams. Whether you're sitting IGCSE 0417 or AS/A-Level 9618, you need to know how to open, read, write, and append data in a file using Python. In this post, I'll walk through everything you need, with the kind of worked examp…