"pathlib" - Object-Oriented Filesystem Paths

This chapter provides introductions and tutorial examples about 'pathlib' module. Topics include creating file path objects; manipulating file path components; managing files pointed by file paths.

What Is "pathlib" Module

"pathlib.Path" - Path for Both Linux and Windows

"pathlib.Path" - Read and Write Operations

Takeaways:

Table of Contents

 About This Book

 Running Python Code Online

 Python on macOS Computers

 Python on Linux Computers

 Built-in Data Types

 Variables, Operations and Expressions

 Statements - Execution Units

 Function Statement and Function Call

 Iterators, Generators and List Comprehensions

 Classes and Instances

 Modules and Module Files

 Packages and Package Directories

 "sys" and "os" Modules

"pathlib" - Object-Oriented Filesystem Paths

 "pip" - Package Installer for Python

 SciPy.org - Python Libraries for Science

 pandas - Data Analysis and Manipulation

 Anaconda - Python Environment Manager

 Jupyter Notebook and JupyterLab

 References

 Full Version in PDF/EPUB