A Python Script to Increment File Names Starting at a Specific Number

preview_player
Показать описание
We'll go over how to use the script, the source code and how to maybe improve it.

Hit the subscribe button to receive more videos like this!

REFERENCE LINKS
---------------------------------------------------

COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.

THE TOOLS I USE / GEAR
---------------------------------------------------

FOLLOW ME ELSEWHERE
---------------------------------------------------

TIMESTAMPS
---------------------------------------------------
0:00 -- What we're going to cover in this video
0:08 -- Use cases for why I created the script
3:15 -- Using the inc-file-names script
5:23 -- Going over all of the source code of (argparse driven Python CLI)
8:16 -- Getting the base name of a file path with Python
9:30 -- Controlling how many times you split a string by a delimiter
11:18 -- Figuring out if and how much to increment the file name's prefix by
14:22 -- Composing the new file name and either printing or renaming it
16:02 -- Ways to maybe improve this script if you want to have some fun
Рекомендации по теме
join shbcf.ru