Good design adds value faster than it adds cost.
– Unknown
CHAPTER 18
File Handling
This chapter provides an the overview of files and file handling in Python. This chapter gently introduces the concepts of files, types of files and file handling in Python. This chapter also assists in recognizing the differences between the processing of prepared and raw data files, complicated serializing objects for storage, and constructing a transaction processing program using random-access file processing.
Learning Objectives
After completing this chapter, the reader will be able to:
- Create, read, write, and update files.
- Become familiar with sequential-access file processing.
- Understand text processing in Python.
- Differentiate between a text file ...
Get Python Programming by Pearson now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.