To round out your introduction to programming with Python, in this course, you'll manage files and directories through code. You'll also perform basic exception handling to gracefully address issues in your code.

Intro to Python: File Processing and Exception Handling
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Intro to Python: File Processing and Exception Handling
This course is part of Introduction to Programming with Python Specialization

Instructor: Bill Rosenthal
Included with
19 reviews
What you'll learn
Open, read, write, and close text files using various access modes and built-in function methods to manipulate persistent text data.
Traverse and manage directory contents, modify paths, and copy or delete entire file trees using the os, pathlib, and shutil modules.
Implement robust error handling strategies using try-except blocks, ordered exception hierarchies, and specialized custom exceptions.
Data files for this course are provided in the first course of this specialization, "Intro to Python: Setup and Data Processing".
Skills you'll gain
Tools you'll learn
Details to know

Add to your LinkedIn profile
January 2026
1 assignment
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate

There are 3 modules in this course
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor

Offered by
Explore more from Software Development
Status: Free Trial
Status: Free TrialLogical Operations
Status: Free TrialLogical Operations
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.






