listdir(path): new_file_name = image_name+"_" + str(i) + ".jpg" #here you can change the extention of your renmamed file. os.rename(file, ...
確定! 回上一頁