filmov
tv
How to Use Pathlib in Python | Quickstart Guide or Beginners

Показать описание
`pathlib` is a part of the standard library that helps you deal with file paths. In this video, we explore the library with examples. We also talk about the different `Path` classes that are available to us, and we talk about the relationships between the different classes in the library. And lastly, we talk about some of the caveats of using the library.
00:00 - Intro
00:15 - The `Path` Object
01:28 - Understanding `Path` objects and their inheritance
02:23 - Utility methods and properties on the `Path` object
03:32 - FileExistsError
03:45 - Chaining methods on the `Path` object
04:34 - Finding duplicate files
05:26 - Iterating over directories
06:09 - Matching filenames
06:35 - Deleting files
07:19 - Using Path objects in other libraries
07:31 - Opening files using Path's open method
Links:
00:00 - Intro
00:15 - The `Path` Object
01:28 - Understanding `Path` objects and their inheritance
02:23 - Utility methods and properties on the `Path` object
03:32 - FileExistsError
03:45 - Chaining methods on the `Path` object
04:34 - Finding duplicate files
05:26 - Iterating over directories
06:09 - Matching filenames
06:35 - Deleting files
07:19 - Using Path objects in other libraries
07:31 - Opening files using Path's open method
Links:
Python Tutorial: Pathlib - The Modern Way to Handle File Paths
How to Use Pathlib in Python | Quickstart Guide or Beginners
How to use the Pathlib Module in Python | QuickStart Guide for Beginners
How to use Pathlib ( Beginners Guide )
Starting With Python's pathlib Module
A Deep Dive Into Pathlib And The Magic Behind It
Python Pathlib Basics
Pathlib makes file management EASY in Python
Python Pathlib Tutorial
How to use pathlib beginners guide
Python's pathlib Module
Working with Files in Python #5 - Pathlib to Read & Write Files
Pathlib Module In Python - How To Effectively Use Path Class Of Pathlib Module
How to Use pathlib to Work with File Extensions
Pathlib makes file management in Python a BREEZE
Path Lib Tutorial - Python Simplified
Introduction to File Paths and Python's pathlib: Python Basics
MetPy Mondays #77 - Pathlib
MetPy Mondays #76 - Pathlib and Batch Processing
Use pathlib to manage filesystem paths in Python (Python | Linux | File | Path)
Python Primers #3 - os vs pathlib modules for path/filesystem operations
'Elegant Filesystem Interactions in Python using pathlib' - Johan Herland [ ACCU 2016 ]
How to Use pathlib.Path as a Search Pattern in Python?
File Exercises Practice With pathlib: Python Basics
Комментарии