Automate with Python: Rename and Organize Your Files with Python - Python Sort Files

Veröffentlicht am: 07 March 2021
auf dem Kanal: datagy
14,872
314

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: https://github.com/datagy/mediumdata/...

Read the written version of this tutorial here: https://towardsdatascience.com/automa...

----------------------------------------------------------

✅ Check out my eBook to get started with Python for Data Science: https://gumroad.com/l/introtopythonfo...

✅ Follow me on other platforms:
Website: https://datagy.io
Twitter:   / datagyio  
Mailing List: https://mailchi.mp/f6a58f2d73d0/datag... (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-strings
12:40 Sorting files into new folders
15:05 Checking if folders exists with Pathlib
17:20 Renaming and Moving Files
18:00 Conclusion

Learn Python programming the right way!


Auf dieser Seite können Sie das Online-Video Automate with Python: Rename and Organize Your Files with Python - Python Sort Files mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer datagy 07 March 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14,872 Mal angesehen und es wurde von 314 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!