Python | Rename Files

preview_player
Показать описание
Have you ever found yourself with a huge directory of files with file names that just aren't helpful? Maybe you've downloaded several files, or you just imported several images from a digital camera. Python and the built-in Pathlib library can be helpful in renaming files in a directory. We'll discuss how we can do this in nested sub-directories in a sequential order, which you can easily extend for your own purposes.
Рекомендации по теме
Комментарии
Автор

Thank you so much! I'm a beginner in Python and it would take forever if I tried to figure this out myself.

lucasmoreira
Автор

Love the work and that you integrate photos. Quick question, this script looks at the name of the folder and then concatonates it with the number increasing by 1? And it does that for each folder in the directory?

austinedmonson
Автор

Thanks a lot...
But I wonder how come such a useful video have only about 2K views, whereas the garbage ones are viewed million times...
Keep up the good work!!!!

ishaqsyed
Автор

Thank you so much for your tutorial..it was really helpful. In starting one min of video you mentioned video of pathlib...can you share that video link please..i am having hard time searching that video on your channel. Please

hackytech
Автор

hi,
how can be this apply on E-Mails to rename them and add the date of reception to each one and check if it is sent or recieved one! something like: 13.09.2022_sent_original Title.msg

thank you

fursan