`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:
Download PyCharm: https://jb.gg/u8syo9
Sur cette page du site, vous pouvez voir la vidéo en ligne How to Use Pathlib in Python | Quickstart Guide or Beginners durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur PyCharm, a JetBrains IDE 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 20,230 fois et il a aimé 425 téléspectateurs. Bon visionnage!