Basics of Python Programming: A Quick Guide for Beginners

File Handling

Author(s): Krishna Kumar Mohbey* and Malika Acharya * .

Pp: 163-181 (19)

DOI: 10.2174/9789815179637123010009

* (Excluding Mailing and Handling)

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.

Related Journals
Related Books
© 2024 Bentham Science Publishers | Privacy Policy