Skip to content
Back to Python

Python

Filesystem paths and operations

Work with paths and perform common file and directory operations.

With Zoonk, your plan starts at this chapter and fits your schedule.

Build my plan

Start free, no account needed.

Where this chapter sits in the course

Lessons

Chapter 18 of 22 · 6 short lessons · 22 min
  1. 1Paths with pathlib3 min
  2. 2Relative and absolute paths3 min
  3. 3Listing and finding files3 min
  4. 4Creating, copying, and moving4 min
  5. 5Filesystem errors3 min
  6. 6Challenge: Filesystem paths and operations6 min

What you'll learn

  • Construct paths and find directory contents
  • Perform common file operations and handle failures

Your plan from this chapter

It follows the course from here, at your pace, with reviews before you forget.

Build my plan

Start free, no account needed.