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.
Keywords: Buffering, Directory path in OS, Storage in OS.
About this chapter
Cite this chapter as:
Krishna Kumar Mohbey, Malika Acharya ;File Handling, Basics of Python Programming: A Quick Guide for Beginners (2023) 1: 163. https://doi.org/10.2174/9789815179637123010009
DOI https://doi.org/10.2174/9789815179637123010009 |
Publisher Name Bentham Science Publisher |