March 2025
Intermediate to advanced
584 pages
15h 31m
English
This chapter covers
file objectsstruct moduleFile operations are a common feature in the daily routines of many developers. The most common file type is the simple text file, which is used in a wide variety of situations, from raw data files to log files to source code and more. If text files can’t do the job, binary files can be used to store almost anything, often by using the struct module for specific binary formats or even the pickle and shelve modules to store and retrieve Python objects. Let’s walk through reading ...
Read now
Unlock full access