Chapter 9. Files and Input/Output

Chapter Topics

  • File Objects

    • File Built-in Function

    • File Built-in Methods

    • File Built-in Attributes

  • Standard Files

  • Command-line Arguments

  • File System

  • File Execution

  • Persistent Storage

  • Related Modules

This chapter is intended to give you an in-depth introduction on the use of files and related input/output capabilities of Python. We introduce the file object (its built-in function, and built-in methods and attributes), review the standard files, discuss accessing the file system, hint at file execution, and briefly mention persistent storage and modules in the standard library related to “file-mania.”

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset