How to use the Pathlib Module in Python | QuickStart Guide for Beginners

preview_player
Показать описание

𝗗𝗘𝗦𝗖𝗥𝗜𝗣𝗧𝗜𝗢𝗡
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
In this quick tutorial, I am going to show you how to use the Pathlib module in Python. If you are new to Python, this will give you a quick introduction to the most widely used Python module for path manipulations. I will show you how to work with file paths & directories and how to list all files and folders in a directory.

𝗧𝗢𝗢𝗟𝗦 𝗔𝗡𝗗 𝗥𝗘𝗦𝗢𝗨𝗥𝗖𝗘𝗦
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

𝗖𝗢𝗡𝗡𝗘𝗖𝗧 𝗪𝗜𝗧𝗛 𝗠𝗘
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

☕ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲?
Рекомендации по теме
Комментарии
Автор

Great tutorial. Clear and to the point!

mikhaeldito
Автор

you are the best.. To the point ...exactly what people need

getgoing_globe
Автор

Great video! Was going back forth between this video and the python official docs and together they helped a ton. Cheers!

LukeCodes-JobbyorBust
Автор

Video was really short and contains to the point info GOOD ONE

pankajbhatt
Автор

Hi Sven, Great video really helpful as others are saying straight to the point covered most common use cases. Not sure if this is your usual format but its spot on.

phil
Автор

Very helpful tutorial. Thank you for sharing.

torque
Автор

That cheatsheet was the icing on the delicious cake 😊

geoafrikana
Автор

helpful :) right now I am looking for file deletion in a folder or while iteration

sayhellotoroy
Автор

Thanks for making this great tutorial.

ThakurTheGr
Автор

well done! the cheatsheet is very helpful.

neonwatty
Автор

Hai Sven, thanks for the cheat sheet...💌

samaritanx
Автор

Hello, Sven! Thanks a lot for this perfect intro tutorial. I have a question. Are you sure about line "Path(__file__)"? If you call "dir()", you will see that there is no such name in the current scope. I believe I misunderstood something or implementation of pathlib module has been changed.
Will you help me to figure out?

aleksandr_nokhrin
Автор

Hallo, sehr cool, danke. Gibt es eine Möglichkeit eine .exe Datei zu erstellen, die auch xlwings nutzt? Möchte ein GUI mit Python erstellen, das eine CSV Datei einliest und daraus eine Excel Datei erstellt? Am liebsten würde ich den VBA Code für die Formatierung auch automatisch ausführen lassen, sobald der Python Code ausgeführt wird. Bin für jeden Tipp dankbar. LG

timlambe
Автор

Hi
Your videos are always very helpful. I need your help.

I have a list of items in Column A. I want a VBA Code that selects 5 items at once and if I click again the button of macro it selects the next 5 items. The Starting point will be the A1

First click on macro = selection from A1:A5
Second click on macro = selection from A6:A10
Third click on macro = selection from A11:A15
and so on


can you please help me?

yogisoni
join shbcf.ru