About Course
Learn to read and write files with Python safely and reliably. Open files with the with statement, choose the right mode and encoding, work with paths using pathlib, read and write CSV and JSON, and handle missing files and other errors. All examples tested in Python 3.
Examples were tested with Python 3.13. Be careful when running code that writes or deletes files; test on copies of important data first.
Course Content
Course Lessons
-
Opening files the right way
-
Reading and writing text
-
Paths and folders with pathlib
-
CSV, JSON and handling errors
Sources & Further Reading
Final Assessment
Student Ratings & Reviews
No Review Yet