September 2026
1051 pages
35h 4m
English
In this chapter, we will discuss modules from the standard library that enable access to the file system and working with paths in the file system.
After a basic introduction to the relevant concepts, we will discuss pathlib, the modern abstraction for platform-independent work with the file system.
We will then look at the os, os.path, and shutil modules, which provide related functions for working with the file system and are often used in older implementations.
Finally, we will discuss the tempfile module, which can be used to create temporary files.
For permanent data storage, a computer system has one or more physical data storage devices. These include hard disks and SSDs, but also ...
Read now
Unlock full access