Skip to content Skip to sidebar Skip to footer

Batch File Rename With Python

Below is my code to batch rename pictures inside a given directory def multi_filename_change(): i = 0 files = askstring('Select your folder', 'Paste your directory path where your

Solution 1:

Source should be appended with existing directory, not just filename

src =files+file

Or src=os.path.join(files, file)

Post a Comment for "Batch File Rename With Python"