# Student Handout — File I/O — Reading from and Writing to External Files (open(), read(), write())

- Link: https://doss.academy/course-3-introduction-to-programming/unit-6-data-structures-file-processing-file-i-o/lesson-3-file-i-o-reading-from-and-writing-to-external-files-open-read-write/student-handout/
- Published: 2026-10-18T12:32:38-04:00
- Author: matthew.leffler@jefferson.kyschools.us

Course 3: Introduction to Programming / Unit 6: Data Structures & File Processing(
File I/O) / Lesson 3: File I/O — Reading from and Writing to External Files (open(),
read(), write())

## File I/O & Data Persistence Guide.

Name: ____________________ Date: ____________________

## Explore and practice

File mode walkthrough, text file parsing lab, and persistent data storage exercise.

## Record your work

Describe what you tried, show your work or attach your artifact, and explain what
your evidence demonstrates.

________________________________________________________________

________________________________________________________________

________________________________________________________________

## Use the vocabulary

File I/O, open(), read(), write(), File Mode ('r', 'w', 'a'), with Statement, Text
File, Persistent Storage, File Pointer, File Closing

Use relevant terms above to explain one part of your work.

## Check and reflect

 * I completed the assigned activity and recorded my work.
 * I used lesson vocabulary accurately.
 * I can explain one thing I learned and one question I still have.
