An example could be this, but in the video I am more specific, showing how to change the names of some images and why do I needed to do it.
from glob import glob import os imgs = glob("*.png") for i in img: os.rename(i, "newname" + str(img.index(i) + 1) + ".png"
You can use this feature in many occasions. This will make you save a lot of time.