Automate with Python: Rename and Organize Your Files with Python - Python Sort Files
In this video, you’ll learn how to rename and organize your files easily with Python! It’s a fun automating project that will help you learn scripting with Python and how to automate boring, repetitive tasks.
Download the files here: Files
Read the written version of this tutorial here:
----------------------------------------------------------
✅ Check out my eBook to get started with Python for Data Science:
✅ Follow me on other platforms:
Website:
Twitter:
Mailing List: (and get a FREE Pandas tip and tricks book and a FREE Guide to SQL)
0:00 Introduction
1:01 Loading Libraries and Files
1:38 Creating a Pathlib Object
2:50 Exploring Pathlib attributes and methods
5:15 Looping over files in a directory
6:35 Setting up our renaming loop
8:44 Modifying the date format
11:00 Creating a new name with f-string
7 views
29
4
1 month ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready
1 month ago 00:04:27 1
Botsol vs. Leads Sniper: Email Extractor Showdown 🔥
1 month ago 00:06:30 1
Leadstal vs. Leads Sniper: Which Email Extractor REALLY Gets the Job Done? 😎
2 months ago 00:05:53 1
Web3 Gaming | Web3 Games | Crypto Games
2 months ago 00:09:32 1
Blender Rigging: Automatic Shoulder rotation!
2 months ago 00:00:00 1
≪NieR:Automata≫ You have to consider. FIRST TIME PLAY-THROUGH! #2 【SPOILER WARNING】
2 months ago 00:01:52 8
Retronix - Automated BGA Laser Reballing Service
2 months ago 00:01:17 1
Outbound - Exclusive Reveal Trailer
2 months ago 00:36:15 1
Inside the new Sydney Metro | Australia’s best transit project
2 months ago 00:00:34 1
Natural Organic Dog Food Extruder #DryDogFoodMachine #PetFoodPelletsMachine #CatFoodExtruder
2 months ago 00:00:34 1
🐕 Revolutionize Your Pet Food Production with Our Advanced Natural Organic Dog Food Extruder! 🐾
2 months ago 00:01:08 1
🚀Discover the Power of Mini: HYGP-A100 Automatic Servo Gear Pump Bottle Filler - Small Yet Mighty!
2 months ago 00:01:09 1
2025 KTM 1390 SUPER ADVENTURE S EVO – MORE IS MORE | KTM
2 months ago 00:08:53 1
EARN $140 PER HOUR PAYPAL With Easy Google Side Hustle! (Make Money Online 2025)
2 months ago 00:02:56 1
Futures of The Past - Mechanical Hearts - 19th Century Steampunk Sci-Fi - AI Microfilm
2 months ago 00:09:19 1
EARN $10 PER DAY PAYPAL PASSIVE INCOME (Make Money Online 2025)
2 months ago 00:09:30 1
Top AI Tools | Best AI Tools | AI Tools to Make Money
2 months ago 00:00:52 1
VSub Review: 👉Earn Passive INCOME with NEW Automation AI Tool❗ (Youtube & Tiktok) #vsub #ai
2 months ago 00:17:52 1
Want to Make $78,960 Fast? Here’s How to Make Money with Ai 2024
2 months ago 00:10:11 1
AgentExe & Open Interpreter (OS Mode): Computer USE ON YOUR COMPUTER! (2 New Tools!)
2 months ago 00:04:36 1
БОЛЬШОЙ ЛЕБОВСКИ Меня уносят сны
2 months ago 00:01:02 1
The risky move
2 months ago 00:11:57 1
Intel Core Ultra 9 285K Gaming Performance: There Are Serious Problems
2 months ago 00:00:00 1
VP Kamala Harris & Willie Nelson | Rally on Reproductive Rights in Houston, Texas