Abstract
From the previous chapters, we anticipate that the readers have garnered
enough working knowledge of Python and its elementary concepts. In this chapter, we
introduce to the user the concept of files. These are one of the major built-in object
types in Python. We can create, call, work, and close the files using several functions as
enunciated below. One of the primary tasks of files is method exporting and common
file-processing tasks such as input and output display to external files, flush buffers,
etc.