Tired of renaming files one by one? Let's automate it with Python!
![Light bulb :bulb: 💡](https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f4a1.png)
Python:
import os
# https://t.me/LearnPython3
directory = 'path/to/your/folder'
prefix = 'image_'
# Iterate over files in the directory
for count, filename in enumerate(os.listdir(directory)):
new_name = f"{prefix}{count}.png"
src = f"{directory}/{filename}"
dst = f"{directory}/{new_name}"
# Rename the file
os.rename(src, dst)