Python pathlib: Managing File System Paths and I/O
Learn to use the modern, object-oriented pathlib module to manipulate files, manage directories, and write robust, cross-platform Python scripts.
-
๐ฌ
AI instructor
Ask about any lesson and get a clear answer instantly, anytime. -
๐
Start anytime
No schedules or deadlines โ learn at your own pace, whenever suits you. -
๐
In English
Lessons, tasks and certificate โ all fully in your language.
About this course
File system interaction is a critical component of nearly all Python scripting, yet traditional path handling methods can be cumbersome and error-prone. This course introduces the powerful and intuitive pathlib module, teaching you how to treat file paths as objects, manage directory structures efficiently, and perform common input/output tasks with clean, readable code.
This course introduces the powerful, object-oriented pathlib module, teaching you how to handle file paths intuitively, manage directory structures, and perform common input/output tasks with clean, readable code.
What you'll learn:
* Understand the core concepts of Path objects, including absolute, relative, and resolved paths.
* Apply methods like joinpath(), exists(), and is_file() to safely navigate and verify file system locations.
* Practice reading and writing file contents directly using the streamlined read_text() and write_text() methods.
* Master directory traversal techniques, including recursive searching using rglob() for efficient file discovery.
* Configure basic file management tasks, such as moving, renaming, and deleting files and directories securely.
We begin by defining the Path object and its components, then move step-by-step through practical exercises covering file I/O, path manipulation, and advanced directory structure traversal. This course is designed for beginner Python developers looking to modernize their file handling routines. No prior experience with file system APIs is required.
Start writing cleaner, more portable file system code today.
What you'll get
-
๐
Certificate of completion
Add it to your LinkedIn profile -
๐ฌ
Personal AI tutor
Stuck on a lesson? Ask your built-in tutor anything, any time. -
๐ง
Audio version included
Learn on the go โ no screen needed -
โพ๏ธ
Lifetime access
Come back anytime, no expiry -
๐ฑ
Phone or computer
Works anywhere, any device -
๐ธ
14-day refund
No questions asked -
โก
Short & focused
2h 54m of practical content
Reviews
No reviews yet โ be the first to share your experience.
Frequently asked
What do I need to take this course? +
Just a phone or computer with internet. No installs, no special hardware.
How do I pay? +
By card via Stripe. We donโt store card details โ Stripe handles them securely.
Can I get a refund? +
Yes โ full refund within 14 days, no questions asked.
How long will I have access? +
Forever. Once you purchase, the course is yours to revisit anytime.
Will I get a certificate? +
Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.
Built for learners in
Tech
Design
Finance
Marketing
Healthcare
Education
Hospitality
Manufacturing