Python Tutorial: Pathlib - The Modern Way to Handle File Paths

Pubblicato il: 23 settembre 2024
sul canale di: Corey Schafer
21,332
1.2k

In this Python Programming video, we will be learning how to use the Pathlib module and see why it's now preferred over os.path.

Thank You to the sponsor, Ekster Wallets!
Please use code "SCHAFER" at checkout!
https://partner.ekster.com/coreyms

In this video, we'll be learning how to use Path objects, which uses an object-oriented approach to file paths instead of using strings like done previously when using the os.path method. Many code bases are switching over to using Pathlib and Path objects, so this is an important skill to master. Let's get started...

Working with Files in Python -    • Python Tutorial: File Objects - Readi...  

✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / @coreyms  

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python #Pathlib


In questa pagina del sito puoi guardare il video online Python Tutorial: Pathlib - The Modern Way to Handle File Paths della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Corey Schafer 23 settembre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 21,332 volte e gli è piaciuto 1.2 mille spettatori. Buona visione!